bigdir/db/migrate/20090318181151_extend_setti...

10 lines
235 B
Ruby

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