Sha256: afc660a4794ef37068c8a9a7c47e042b67d151febc3565a90d8eb7d5b343d6f6

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

# This migration comes from maestrano_connector_rails (originally 20151122162414)
class CreateMaestranoConnectorRailsOrganizations < ActiveRecord::Migration
  def change
    create_table :maestrano_connector_rails_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 :maestrano_connector_rails_organizations, [:uid, :tenant], name: 'orga_uid_index'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.0.1 spec/dummy/db/migrate/20151209134446_create_maestrano_connector_rails_organizations.maestrano_connector_rails.rb