lib/generators/rodauth/oauth/templates/db/migrate/create_rodauth_oauth.rb in rodauth-oauth-0.9.3 vs lib/generators/rodauth/oauth/templates/db/migrate/create_rodauth_oauth.rb in rodauth-oauth-0.10.0

- old
+ new

@@ -50,10 +50,12 @@ # uncomment to use OIDC nonce # t.string :nonce # device code grant # t.string :user_code, null: true, unique: true # t.datetime :last_polled_at, null: true + # when using :oauth_resource_indicators feature + # t.string :resource end create_table :oauth_tokens do |t| t.integer :account_id t.foreign_key :accounts, column: :account_id @@ -76,8 +78,10 @@ t.string :scopes, null: false t.datetime :created_at, null: false, default: -> { "CURRENT_TIMESTAMP" } # uncomment to use OIDC nonce # t.string :nonce # t.datetime :auth_time + # when using :oauth_resource_indicators feature + # t.string :resource end end end \ No newline at end of file