summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20090318181151_extend_settings_name.rb9
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