Working webhook
This commit is contained in:
parent
c976f7b53f
commit
7b45214ca9
6 changed files with 157 additions and 39 deletions
1
db.go
1
db.go
|
@ -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),
|
||||
|
|
Reference in a new issue