Skip to content

Fixes a migration that causes error on some legacy DBs

Rubén Dávila requested to merge rd-set-missing-fields-on-migration into master

Looks like there are some legacy GitLab databases that have a NOT NULL constraint for the created_at and updated fields.

This change fixes the migration by adding a default value to those columns and I think we always should have it in mind when inserting DB records through raw SQL.

Closes #46862 (closed)

Merge request reports

Loading