mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
b90e6289ac
The git_branches table had 'NULL' values for some commits where the branch was deleted, importantly this was the string 'NULL', not an actual NULL value. This commit fixes that, migrating the existing values to be '', and changing the relevant code. The primary key is also extended to include the datetime field, as this is important to allow a branch to be deleted twice.
8 lines
117 B
PL/PgSQL
8 lines
117 B
PL/PgSQL
-- Verify guix-data-service:fix_null_values_in_git_branches on pg
|
|
|
|
BEGIN;
|
|
|
|
-- XXX Add verifications here.
|
|
|
|
ROLLBACK;
|