You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20090318181151_extend_settings_name.rb 240B

123456789
  1. class ExtendSettingsName < ActiveRecord::Migration[4.2]
  2. def self.up
  3. change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
  4. end
  5. def self.down
  6. raise ActiveRecord::IrreversibleMigration
  7. end
  8. end