updfix
This commit is contained in:
parent
76eb120b27
commit
985353ba10
2
sql.go
2
sql.go
@ -91,7 +91,7 @@ func initDB() {
|
||||
,name VARCHAR(80) NOT NULL
|
||||
,chat_id BIGINT NOT NULL
|
||||
,deposit_chat_id BIGINT NOT NULL
|
||||
FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
||||
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
||||
) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_unicode_ci;`)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user