Sha256: 526cb7f897cf1f332e84744e64afa4c2ebcce08eaf628bb9837c21d630622069

Contents?: true

Size: 324 Bytes

Versions: 3

Compression:

Stored size: 324 Bytes

Contents

class CreateInvites < ActiveRecord::Migration
  def change
    create_table :invites do |t|
      t.belongs_to :user
      t.string :email, :token
      t.datetime :sent_at
      t.timestamps
    end

    create_table :invite_roles do |t|
      t.belongs_to :invite
      t.string :name
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 db/migrate/20141007173000_create_invites.rb
pages_core-3.5.1 db/migrate/20141007173000_create_invites.rb
pages_core-3.4.2 db/migrate/20141007173000_create_invites.rb