Sha256: d8559b3391c02fa61cd9de5a0d5dfd4cb923093a3139d17c20099666bfe42c43
Contents?: true
Size: 492 Bytes
Versions: 9
Compression:
Stored size: 492 Bytes
Contents
class CreateEnterpriseAccounts < ActiveRecord::Migration[6.0] def change create_table :enterprise_accounts, id: :uuid do |t| t.string :domain, null: false t.uuid :external_uuid t.integer :external_int_id t.string :external_id end add_index :enterprise_accounts, :domain, unique: true add_reference :saml_providers, :enterprise_account, type: :uuid, index: true add_reference :users, :enterprise_account, type: :uuid, index: true end end
Version data entries
9 entries across 9 versions & 1 rubygems