This commit is contained in:
shoopea 2019-05-11 15:55:42 +08:00
parent a346673a23
commit 5b14e4a04f

1
sql.go
View File

@ -163,6 +163,7 @@ func initDB() {
,status VARCHAR(32)
,end DATETIME NOT NULL
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
,KEY (lot_id)
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
failOnError(err, "initDB : create table obj_msg_auction_announce")
log.Println("initDB : obj_msg_auction_announce created ...")