rosa-build/db/migrate/20120123120400_add_status_t...

10 lines
200 B
Ruby
Raw Normal View History

2012-01-23 19:42:54 +00:00
class AddStatusToSubscribe < ActiveRecord::Migration
def self.up
add_column :subscribes, :status, :integer, :default => 1
end
def self.down
remove_column :subscribes, :status
end
end