Sha256: f98cd1bf2a4bc6a7848cac6c58b89d89a4eaa48e543c076cd78e2ab2d7936439

Contents?: true

Size: 368 Bytes

Versions: 8

Compression:

Stored size: 368 Bytes

Contents

class CreateDoorkeeperOpenidConnectTables < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :oauth_openid_requests do |t|
      t.integer :access_grant_id, null: false
      t.string :nonce, null: false
    end

    add_foreign_key(
      :oauth_openid_requests,
      :oauth_access_grants,
      column: :access_grant_id
    )
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.6.3 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.6.2 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.6.1 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.6.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.5.5 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.5.4 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb
doorkeeper-openid_connect-1.5.3 lib/generators/doorkeeper/openid_connect/templates/migration.rb.erb