This commit is contained in:
shoopea 2019-05-02 18:23:32 +08:00
parent 27e7ef70f7
commit ad7c28af97

2
sql.go
View File

@ -57,7 +57,7 @@ func initDB() {
user_id VARCHAR(32) NOT NULL, user_id VARCHAR(32) NOT NULL,
name VARCHAR(80) NOT NULL, name VARCHAR(80) NOT NULL,
guild_id SMALLINT(5), guild_id SMALLINT(5),
PRIMARY KEY (id), PRIMARY KEY (id)
) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_unicode_ci;`) ) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_unicode_ci;`)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)