Mercurial > hg > soundsoftware-site
view db/migrate/044_set_language_length_to_five.rb @ 63:b5bd39e27658 luisf
Users status can now be changed (activated/locked)
author | luisf@figasmac.local |
---|---|
date | Fri, 03 Dec 2010 13:14:12 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class SetLanguageLengthToFive < ActiveRecord::Migration def self.up change_column :users, :language, :string, :limit => 5, :default => "" end def self.down raise IrreversibleMigration end end