2012-01-23 19:42:54 +00:00
|
|
|
class AddStatusToSubscribe < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :subscribes, :status, :boolean, default: true
|
2012-01-23 19:42:54 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :subscribes, :status
|
|
|
|
end
|
|
|
|
end
|