mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 20:18:12 +00:00
Fixing nil value in newly added column
This commit is contained in:
@@ -30,6 +30,7 @@ SELECT
|
||||
,repo_gated
|
||||
,repo_visibility
|
||||
,repo_counter
|
||||
,repo_fallback
|
||||
FROM repos
|
||||
INNER JOIN perms ON perms.perm_repo_id = repos.repo_id
|
||||
WHERE perms.perm_user_id = $1
|
||||
@@ -60,7 +61,8 @@ INSERT INTO repos (
|
||||
,repo_gated
|
||||
,repo_visibility
|
||||
,repo_counter
|
||||
) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22)
|
||||
,repo_fallback
|
||||
) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23)
|
||||
ON CONFLICT (repo_full_name) DO NOTHING
|
||||
|
||||
-- name: repo-delete
|
||||
|
Reference in New Issue
Block a user