Due to a missing `on_delete: :cascade`, users would hit the error that looked like: ``` PG::ForeignKeyViolation: ERROR: update or delete on table "protected_tags" violates foreign key constraint "fk_rails_f7dfda8c51" on table "protected_tag_create_access_levels" DETAIL: Key (id)=(1385) is still referenced from table "protected_tag_create_access_levels". : DELETE FROM "protected_tags" WHERE "protected_tags"."id" = 1385 ``` Closes #36013 |
||
|---|---|---|
| .. | ||
| rename_reserved_paths_migration | ||
| date_time.rb | ||
| median.rb | ||
| migration_helpers.rb | ||
| multi_threaded_migration.rb | ||
| sha_attribute.rb | ||