10 lines
235 B
Ruby
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
|