Sha256: 6fb1a8e34b312f02246d4c0d56bef194ace1d25d5728fe5f878cfcdac4e50879

Contents?: true

Size: 344 Bytes

Versions: 9

Compression:

Stored size: 344 Bytes

Contents

class CreateDoorkeeperOpenidConnectTables < ActiveRecord::Migration
  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

9 entries across 9 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.5.2 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.5.1 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.5.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.4.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.3.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.2.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.1.2 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.1.1 lib/generators/doorkeeper/openid_connect/templates/migration.rb
doorkeeper-openid_connect-1.1.0 lib/generators/doorkeeper/openid_connect/templates/migration.rb