Sha256: b461f6c0b5dc8ec06bc16c97d916872063a2af62f104894bd99d0201ecac7108
Contents?: true
Size: 458 Bytes
Versions: 5
Compression:
Stored size: 458 Bytes
Contents
class CreateInvites < ActiveRecord::Migration<%= migration_version %> 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
5 entries across 5 versions & 1 rubygems