Mercurial > hg > soundsoftware-site
view db/migrate/20101114115359_change_projects_identifier_limit.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 | 94944d00e43c |
children |
line wrap: on
line source
class ChangeProjectsIdentifierLimit < ActiveRecord::Migration def self.up change_column :projects, :identifier, :string, :limit => nil end def self.down change_column :projects, :identifier, :string, :limit => 20 end end