summaryrefslogtreecommitdiffstats
path: root/db/migrate/060_change_changesets_committer_limit.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-25 14:35:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-25 14:35:18 +0000
commit138566de0b9bc545ddcdd9492c38c75a61e918f1 (patch)
tree92753cc3fa85c5f3c48709c5cb4c1afc0407fc30 /db/migrate/060_change_changesets_committer_limit.rb
parent1e28f7758f2dcade85900217605b01b3b2b07490 (diff)
downloadredmine-138566de0b9bc545ddcdd9492c38c75a61e918f1.tar.gz
redmine-138566de0b9bc545ddcdd9492c38c75a61e918f1.zip
Committer field in the Changesets table is now varchar 255.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@656 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/060_change_changesets_committer_limit.rb')
-rw-r--r--db/migrate/060_change_changesets_committer_limit.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/060_change_changesets_committer_limit.rb b/db/migrate/060_change_changesets_committer_limit.rb
new file mode 100644
index 000000000..5cc2f0d1d
--- /dev/null
+++ b/db/migrate/060_change_changesets_committer_limit.rb
@@ -0,0 +1,9 @@
+class ChangeChangesetsCommitterLimit < ActiveRecord::Migration
+ def self.up
+ change_column :changesets, :committer, :string
+ end
+
+ def self.down
+ change_column :changesets, :committer, :string, :limit => 30
+ end
+end