diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-19 00:01:24 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-19 00:01:24 +0000 |
commit | 7774642b03d4737773f277eed0f1ce7419ee7979 (patch) | |
tree | c42d967e7e99b1aa220458990b0aa60b1ebd4508 /db/migrate/20090318181151_extend_settings_name.rb | |
parent | d516d9d9e592a87a55a3a9d682de691f5fe7d17f (diff) | |
download | redmine-7774642b03d4737773f277eed0f1ce7419ee7979.tar.gz redmine-7774642b03d4737773f277eed0f1ce7419ee7979.zip |
Extend the settings.name column so it can fit longer plugin names.
#3010
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2599 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20090318181151_extend_settings_name.rb')
-rw-r--r-- | db/migrate/20090318181151_extend_settings_name.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20090318181151_extend_settings_name.rb b/db/migrate/20090318181151_extend_settings_name.rb new file mode 100644 index 000000000..eca03d555 --- /dev/null +++ b/db/migrate/20090318181151_extend_settings_name.rb @@ -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 |