Sha256: acc1a286fa8194987d891bed3598ecc75ef3d0359a1e1f3970668b05fb7179ba
Contents?: true
Size: 406 Bytes
Versions: 12
Compression:
Stored size: 406 Bytes
Contents
class CreateOpenStaxAccountsGroupMembers < ActiveRecord::Migration def change create_table :openstax_accounts_group_members do |t| t.references :group, null: false t.references :user, null: false t.timestamps null: false end add_index :openstax_accounts_group_members, [:group_id, :user_id], unique: true add_index :openstax_accounts_group_members, :user_id end end
Version data entries
12 entries across 12 versions & 1 rubygems