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

11 lines
230 B
Ruby

# -*- encoding : utf-8 -*-
class AddStatusToSubscribe < ActiveRecord::Migration
def self.up
add_column :subscribes, :status, :boolean, :default => true
end
def self.down
remove_column :subscribes, :status
end
end