socialforge/db/migrate/20090318181151_extend_setti...

10 lines
235 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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