From 7774642b03d4737773f277eed0f1ce7419ee7979 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Thu, 19 Mar 2009 00:01:24 +0000 Subject: [PATCH] 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 --- db/migrate/20090318181151_extend_settings_name.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20090318181151_extend_settings_name.rb 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 -- 2.39.5