mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Explicitly initialize PackageBases.FlaggerComment
Since commit 09cb61a
(schema: Remove invalid default values for TEXT
columns, 2017-04-15), the PackageBases.FlaggerComment field no longer
has a default value. Initialize this field explicitly whenever a new row
is added to the PackageBases table.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
90ab7c7b83
commit
f4e2d143ad
6 changed files with 25 additions and 23 deletions
|
@ -21,7 +21,7 @@ test_expect_success 'Test update hook on a fresh repository.' '
|
|||
1|1|foobar|1-1|aurweb test package.|https://aur.archlinux.org/
|
||||
1|GPL
|
||||
1|1
|
||||
1|1|python-pygit2||
|
||||
1|1|python-pygit2|||
|
||||
1|1
|
||||
EOF
|
||||
dump_package_info >actual &&
|
||||
|
@ -42,8 +42,8 @@ test_expect_success 'Test update hook on another fresh repository.' '
|
|||
2|MIT
|
||||
1|1
|
||||
2|2
|
||||
1|1|python-pygit2||
|
||||
2|1|python-pygit2||
|
||||
1|1|python-pygit2|||
|
||||
2|1|python-pygit2|||
|
||||
1|1
|
||||
2|1
|
||||
EOF
|
||||
|
@ -63,8 +63,8 @@ test_expect_success 'Test update hook on an updated repository.' '
|
|||
2|MIT
|
||||
2|2
|
||||
3|1
|
||||
2|1|python-pygit2||
|
||||
3|1|python-pygit2||
|
||||
2|1|python-pygit2|||
|
||||
3|1|python-pygit2|||
|
||||
1|1
|
||||
2|1
|
||||
EOF
|
||||
|
@ -82,8 +82,8 @@ test_expect_success 'Test restore mode.' '
|
|||
2|MIT
|
||||
2|2
|
||||
3|1
|
||||
2|1|python-pygit2||
|
||||
3|1|python-pygit2||
|
||||
2|1|python-pygit2|||
|
||||
3|1|python-pygit2|||
|
||||
1|1
|
||||
2|1
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue