test
This commit is contained in:
parent
850de73623
commit
5adb0b60b1
2
sql.go
2
sql.go
@ -270,6 +270,8 @@ func initDB() {
|
||||
,ended TIMESTAMP
|
||||
,payload VARCHAR(4000)
|
||||
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
||||
,KEY (is_done)
|
||||
,KEY (in_work)
|
||||
,KEY (user_id)
|
||||
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
|
||||
failOnError(err, "initDB : create table obj_job")
|
||||
|
Loading…
Reference in New Issue
Block a user