Sha256: 2ce301f3bbae261a9882f056e217aa9b4aa10dda3842126640d591ee57190935

Contents?: true

Size: 301 Bytes

Versions: 64

Compression:

Stored size: 301 Bytes

Contents

# This migration comes from dm_core (originally 20130206223323)
class AddAccountToUsers < ActiveRecord::Migration
  def change
    add_column  :users, :account_id, :integer
    add_index   :users, :account_id
    add_column  :roles, :account_id, :integer
    add_index   :roles, :account_id
  end
end

Version data entries

64 entries across 64 versions & 4 rubygems

Version Path
dm_newsletter-4.2.3.10 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_forum-4.2.3.10 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_event-4.2.3.10 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_cms-4.2.3.10 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_newsletter-4.2.3.9 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_forum-4.2.3.9 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_event-4.2.3.9 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_cms-4.2.3.9 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_newsletter-4.2.3.8 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_forum-4.2.3.8 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_event-4.2.3.8 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_cms-4.2.3.8 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_newsletter-4.2.3.7 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_forum-4.2.3.7 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_event-4.2.3.7 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_cms-4.2.3.7 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_newsletter-4.2.3.6 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_forum-4.2.3.6 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_event-4.2.3.6 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
dm_cms-4.2.3.6 spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb