OSDN Git Service

Committer field in the Changesets table is now varchar 255.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Aug 2007 14:35:18 +0000 (14:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Aug 2007 14:35:18 +0000 (14:35 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@656 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/060_change_changesets_committer_limit.rb [new file with mode: 0644]

diff --git a/db/migrate/060_change_changesets_committer_limit.rb b/db/migrate/060_change_changesets_committer_limit.rb
new file mode 100644 (file)
index 0000000..5cc2f0d
--- /dev/null
@@ -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