Sha256: 70b265cce6becfec16b4c2441c954bbf87f6bc703bd17ed12ab1b293918690ac
Contents?: true
Size: 434 Bytes
Versions: 12
Compression:
Stored size: 434 Bytes
Contents
class CreateOpenStaxAccountsGroupNestings < ActiveRecord::Migration 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
12 entries across 12 versions & 1 rubygems