-
- Downloads
Validate oauth_access_tokens#expires_in not null
* The background migration ran successfully on GPRD: !107701 (comment 1241450867) * This migration prevent new invalid oauth access token records: !109047 * Validating the not null constraint is the final step https://docs.gitlab.com/ee/development/database/not_null_constraints.html#validate-the-not-null-constraint-next-release * Minor: also removes monkeypatching of Doorkeeper which we added before the migration ran so that the refresh token flow didn't create new invalid PATs while the background migration was running. More context in that MR: !107306 * #385374 Changelog: changed
parent
32db70fd
No related branches found
No related tags found
Showing
- app/models/oauth_access_token.rb 2 additions, 0 deletionsapp/models/oauth_access_token.rb
- config/initializers/doorkeeper.rb 0 additions, 14 deletionsconfig/initializers/doorkeeper.rb
- db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb 13 additions, 0 deletions..._not_null_constraint_on_oauth_access_tokens_expires_in.rb
- db/schema_migrations/20230223014251 1 addition, 0 deletionsdb/schema_migrations/20230223014251
- db/structure.sql 2 additions, 4 deletionsdb/structure.sql
- spec/models/oauth_access_token_spec.rb 2 additions, 2 deletionsspec/models/oauth_access_token_spec.rb
db/schema_migrations/20230223014251
0 → 100644
-
mentioned in merge request kubitus-project/kubitus-installer!1990 (merged)
Please register or sign in to comment