Sha256: c306e9a798e6d02ed78ba8ea0a1e7dfae01a6db69c7458395d1edbf402219ffe

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

class CreateMaestranoConnectorRailsUserOrganizationRels < ActiveRecord::Migration
  def change
    create_table :maestrano_connector_rails_user_organization_rels do |t|
      t.integer :user_id
      t.integer :organization_id

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.2.0 db/migrate/20151122162613_create_maestrano_connector_rails_user_organization_rels.rb
maestrano-connector-rails-0.0.1 db/migrate/20151122162613_create_maestrano_connector_rails_user_organization_rels.rb