Sha256: c78897f6318140e5c139b5374145bca632102c18361181b002b5366e88424ff5

Contents?: true

Size: 319 Bytes

Versions: 9

Compression:

Stored size: 319 Bytes

Contents

class CreateApiUserAuthProviderTokens < ActiveRecord::Migration[5.2]
  def change
    create_table :api_user_auth_provider_tokens do |t|
      t.references :auth_user, index: true
      t.integer :provider
      t.string :user_id, null: false
      t.jsonb :user_data, default: {}

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
api_user_auth-0.1.9 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.8 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.7 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.6 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.5 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.4 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.2 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.1 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb
api_user_auth-0.1.0 db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb