Sha256: 857f712ba229ce23d12cc0a920bc05afc5a1eb9d95f6e6072df69ee275dc73a3
Contents?: true
Size: 482 Bytes
Versions: 11
Compression:
Stored size: 482 Bytes
Contents
class CreateApiUserAuthAuthUsers < ActiveRecord::Migration[5.2] def change enable_extension 'pgcrypto' create_table :api_user_auth_auth_users do |t| t.string :email, null: false, index: { unique: true } t.string :encrypted_password, null: false t.string :code, default: '' t.uuid :auth_tokens, array: true, default: [] t.jsonb :user_provider_data, default: {} t.string :provider, default: 'email' t.timestamps end end end
Version data entries
11 entries across 11 versions & 1 rubygems