Sha256: 84dc047bf59392a5aedec3c763ccec1cdc464929cd86aaed049662af21c9cb10
Contents?: true
Size: 434 Bytes
Versions: 11
Compression:
Stored size: 434 Bytes
Contents
class CreateInvites < ActiveRecord::Migration def change create_table :invites do |t| t.string :email t.string :token t.integer :sender_id t.integer :recipient_id t.integer :invitable_id t.string :invitable_type t.timestamps t.index :email t.index :token t.index [:invitable_id, :invitable_type] t.index :recipient_id t.index :sender_id end end end
Version data entries
11 entries across 11 versions & 1 rubygems