Sha256: 8c8d5cf059f6caa6a566b58287f6e6631dcf5f9465f8f6d412bace8f3d83fb25

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

class CreateTokenAuthenticateMeInvites < ActiveRecord::Migration[4.2]
  def change
    enable_extension 'uuid-ossp'

    create_table(:token_authenticate_me_invites, id: :uuid) do |t|
      t.string :email, null: false
      t.boolean :accepted, default: nil
      t.jsonb :meta, null: false, default: '{}'
      t.integer :creator_id, index: true

      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
token_authenticate_me-0.11.2 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.11.1 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.11.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb