impress/db/migrate/20150225194522_add_advertised_to_campaign.rb

5 lines
156 B
Ruby

class AddAdvertisedToCampaign < ActiveRecord::Migration
def change
add_column :campaigns, :advertised, :boolean, null: false, default: true
end
end