diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-12 20:28:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-12 20:28:49 +0000 |
commit | 3a9b0988c7515371531e47f9eef9f8e60ce352aa (patch) | |
tree | 2a2deaedbd321dcf838c631dfed357f3c1110dbe /db/migrate/091_change_changesets_revision_to_string.rb | |
parent | 6fcc512cb77a0851ab8c3c693fd178b564a600dd (diff) | |
download | redmine-3a9b0988c7515371531e47f9eef9f8e60ce352aa.tar.gz redmine-3a9b0988c7515371531e47f9eef9f8e60ce352aa.zip |
Merged Git support branch (r1200 to r1226).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1236 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/091_change_changesets_revision_to_string.rb')
-rw-r--r-- | db/migrate/091_change_changesets_revision_to_string.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/091_change_changesets_revision_to_string.rb b/db/migrate/091_change_changesets_revision_to_string.rb new file mode 100644 index 000000000..e621a3909 --- /dev/null +++ b/db/migrate/091_change_changesets_revision_to_string.rb @@ -0,0 +1,9 @@ +class ChangeChangesetsRevisionToString < ActiveRecord::Migration + def self.up + change_column :changesets, :revision, :string, :null => false + end + + def self.down + change_column :changesets, :revision, :integer, :null => false + end +end |