Mercurial > hg > soundsoftware-site
view db/migrate/20090318181151_extend_settings_name.rb @ 444:b461f84ed41a feature_36
Publications: Routes for regular REST behaviour; Import view and controller action; New beahviour for new action.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Sat, 04 Jun 2011 18:08:01 +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