Sha256: 733d147b2ad59dc6449f45bae85c1d8ca17d10d0a9610d742404f3b320d46f69

Contents?: true

Size: 459 Bytes

Versions: 7

Compression:

Stored size: 459 Bytes

Contents

# This migration comes from maestrano_connector_rails_engine (originally 20151122162613)
class CreateUserOrganizationRels < ActiveRecord::Migration
  def change
    create_table :user_organization_rels do |t|
      t.integer :user_id
      t.integer :organization_id

      t.timestamps
    end
    add_index :user_organization_rels, :organization_id, name: 'rels_orga_index'
    add_index :user_organization_rels, :user_id, name: 'rels_user_index'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.2.9 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.8 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.7 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.5 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.4 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.3 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.2 spec/dummy/db/migrate/20160204223449_create_user_organization_rels.maestrano_connector_rails_engine.rb