]> source.dussan.org Git - redmine.git/commitdiff
Extend the settings.name column so it can fit longer plugin names.
authorEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Mar 2009 00:01:24 +0000 (00:01 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Mar 2009 00:01:24 +0000 (00:01 +0000)
  #3010

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2599 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/20090318181151_extend_settings_name.rb [new file with mode: 0644]

diff --git a/db/migrate/20090318181151_extend_settings_name.rb b/db/migrate/20090318181151_extend_settings_name.rb
new file mode 100644 (file)
index 0000000..eca03d5
--- /dev/null
@@ -0,0 +1,9 @@
+class ExtendSettingsName < ActiveRecord::Migration
+  def self.up
+    change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
+  end
+
+  def self.down
+    raise ActiveRecord::IrreversibleMigration
+  end
+end