18F/identity-idp

View on GitHub
db/primary_migrate/20210302144414_drop_authorizations_table.rb

Summary

Maintainability
A
0 mins
Test Coverage
class DropAuthorizationsTable < ActiveRecord::Migration[6.1]
  def change
    drop_table :authorizations do |t|
      t.string :provider
      t.string :uid
      t.bigint :user_id
      t.datetime :authorized_at
      t.timestamps

      t.index [:provider, :uid]
      t.index [:user_id]
    end
  end
end