Sha256: c1000fca85465044859bf65cc959912033237e052f8c20b0274665d238cd8307

Contents?: true

Size: 393 Bytes

Versions: 15

Compression:

Stored size: 393 Bytes

Contents

class CreateTokenAuthenticateMeInvites < ActiveRecord::Migration
  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

15 entries across 15 versions & 1 rubygems

Version Path
token_authenticate_me-0.9.2 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.10.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.9.1 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.9.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.8.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.7.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.6.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.7 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.6 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.5 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.4 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.3 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.2 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.1 db/migrate/20160620184327_create_token_authenticate_me_invites.rb
token_authenticate_me-0.5.0 db/migrate/20160620184327_create_token_authenticate_me_invites.rb