From 5b14e4a04fb68df9dbe121f127d60d09e080243a Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 15:55:42 +0800 Subject: [PATCH] test --- sql.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sql.go b/sql.go index 322214d..0f4f1ee 100644 --- a/sql.go +++ b/sql.go @@ -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 ...")