Sha256: 8c515dafca0397ef1ef9966e29bacb8774ae4dabc8c3594d8debd0c8055a38e9

Contents?: true

Size: 199 Bytes

Versions: 10

Compression:

Stored size: 199 Bytes

Contents

class AddAudienceLimitationToAds < ActiveRecord::Migration
  def self.up
    add_column :ads, :audience, :string, :default => 'all'
  end

  def self.down
    remove_column :ads, :audience
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-3.0.0 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.3.2 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.3.1 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.3.0 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.1.0 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.0.0 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.0.0.beta3 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.0.0.beta2 db/migrate/051_add_audience_limitation_to_ads.rb
community_engine-2.0.0.beta1 db/migrate/051_add_audience_limitation_to_ads.rb