obsolete.ChilliProject/db/migrate/20090401231134_add_active_f...

10 lines
231 B
Ruby

class AddActiveFieldToEnumerations < ActiveRecord::Migration
def self.up
add_column :enumerations, :active, :boolean, :default => true, :null => false
end
def self.down
remove_column :enumerations, :active
end
end