diff options
author | Rubén Dávila <ruben@gitlab.com> | 2018-11-01 18:34:15 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2018-11-01 18:34:15 -0500 |
commit | d32a571acbebd8655991f09e63302e59ca646f68 (patch) | |
tree | cf13771ac196fedd42ee3bd6af6e8d79fa36e7e2 /qa | |
parent | 9bf59ceb691f6c3546f6b156f70767c1c4067233 (diff) | |
download | gitlab-ce-d32a571acbebd8655991f09e63302e59ca646f68.tar.gz |
Fixes a migration that causes error on some legacy DBsrd-set-missing-fields-on-migration
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.
Diffstat (limited to 'qa')
0 files changed, 0 insertions, 0 deletions