Repository: no last_check at creation
This commit is contained in:
parent
931d02854a
commit
3285d5e896
2 changed files with 2 additions and 2 deletions
2
db.go
2
db.go
|
@ -234,7 +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,
|
||||
last_check TIMESTAMP,
|
||||
last_check TIMESTAMP NULL DEFAULT NULL,
|
||||
FOREIGN KEY(id_user) REFERENCES users(id_user),
|
||||
FOREIGN KEY(id_work) REFERENCES works(id_work),
|
||||
UNIQUE one_repo_per_work (id_user, id_work)
|
||||
|
|
Reference in a new issue