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

Version Path
api_user_auth-0.1.9 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.8 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.7 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.6 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.5 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.4 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.2 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.1 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.1.0 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.0.14 db/migrate/20180703111608_create_api_user_auth_auth_users.rb
api_user_auth-0.0.12 db/migrate/20180703111608_create_api_user_auth_auth_users.rb