Sha256: dac6e990f35fd30924e02b7c44fce508f691c64d9f1f589e09adcaf29ec79022
Contents?: true
Size: 496 Bytes
Versions: 43
Compression:
Stored size: 496 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 :identity_providers, :enterprise_account, type: :uuid, index: true add_reference :users, :enterprise_account, type: :uuid, index: true end end
Version data entries
43 entries across 43 versions & 1 rubygems