Working webhook

This commit is contained in:
nemunaire 2022-09-05 12:20:33 +02:00
parent c976f7b53f
commit 7b45214ca9
6 changed files with 157 additions and 39 deletions

1
db.go
View file

@ -234,6 +234,7 @@ CREATE TABLE IF NOT EXISTS user_work_repositories(
id_user INTEGER NOT NULL,
id_work INTEGER NOT NULL,
uri VARCHAR(255) NOT NULL,
secret BLOB NOT NULL,
last_check TIMESTAMP NULL DEFAULT NULL,
droneref VARCHAR(255) NOT NULL,
FOREIGN KEY(id_user) REFERENCES users(id_user),