Fixes a migration that causes error on some legacy DBs
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)