Mercurial > hg > soundsoftware-site
view db/migrate/20090318181151_extend_settings_name.rb @ 1624:76f8f0814e1e live
Use --check to avoid errors when updating in repos with more than one head
author | Chris Cannam |
---|---|
date | Fri, 10 Aug 2018 16:08:05 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
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