Sha256: 0ee48553fc7751b0a848d51d89efa1adda0076cdf629e2617743fdddc6c7c099

Contents?: true

Size: 586 Bytes

Versions: 7

Compression:

Stored size: 586 Bytes

Contents

# This migration comes from maestrano_connector_rails_engine (originally 20151122162414)
class CreateOrganizations < ActiveRecord::Migration
  def change
    create_table :organizations do |t|
      t.string :provider
      t.string :uid
      t.string :name
      t.string :tenant

      t.string :oauth_provider
      t.string :oauth_uid
      t.string :oauth_token
      t.string :refresh_token
      t.string :instance_url

      t.string :synchronized_entities

      t.timestamps null: false
    end
    add_index :organizations, [:uid, :tenant], name: 'orga_uid_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/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.8 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.7 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.5 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.4 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.3 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb
maestrano-connector-rails-0.2.2 spec/dummy/db/migrate/20160204223448_create_organizations.maestrano_connector_rails_engine.rb