Sha256: 267a8ed057ce9ce30b24c6ed61bd171ee0a7d0af0831e78c2276ba459d5dbe93

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.2.7 db/migrate/20151122162414_create_organizations.rb
maestrano-connector-rails-0.2.5 db/migrate/20151122162414_create_organizations.rb
maestrano-connector-rails-0.2.4 db/migrate/20151122162414_create_organizations.rb
maestrano-connector-rails-0.2.3 db/migrate/20151122162414_create_organizations.rb
maestrano-connector-rails-0.2.2 db/migrate/20151122162414_create_organizations.rb