Sha256: e2bea6dee9f337757c26a6a8b3745630b07456751b70b8c8adc403287b105f8e

Contents?: true

Size: 389 Bytes

Versions: 16

Compression:

Stored size: 389 Bytes

Contents

class AddAccountToCms < ActiveRecord::Migration
  def change
    add_column  :cms_pages,         :account_id, :integer
    add_index   :cms_pages,         :account_id
    add_column  :cms_contentitems,  :account_id, :integer
    add_index   :cms_contentitems,  :account_id
    add_column  :cms_snippets,      :account_id, :integer
    add_index   :cms_snippets,      :account_id
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_cms-4.2.3.10 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.9 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.8 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.7 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.6 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.5 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.4 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.3 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.2 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3.1 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.3 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.2.3 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.2.2 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.2.1 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.2 db/migrate/20130206213720_add_account_to_cms.rb
dm_cms-4.2.1.5 db/migrate/20130206213720_add_account_to_cms.rb