Sha256: 53beda506c64793835a37ae17126e737f77937413b6971f669c61bab27dd1c95
Contents?: true
Size: 439 Bytes
Versions: 22
Compression:
Stored size: 439 Bytes
Contents
class CreateOpenStaxAccountsGroupNestings < ActiveRecord::Migration[4.2] def change create_table :openstax_accounts_group_nestings do |t| t.references :member_group, null: false t.references :container_group, null: false t.timestamps null: false end add_index :openstax_accounts_group_nestings, :member_group_id, unique: true add_index :openstax_accounts_group_nestings, :container_group_id end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
openstax_accounts-8.0.1 | db/migrate/4_create_openstax_accounts_group_nestings.rb |
openstax_accounts-8.0.0 | db/migrate/4_create_openstax_accounts_group_nestings.rb |