upd
This commit is contained in:
parent
ddfbdc4cdf
commit
8894b7b645
3
sql.go
3
sql.go
@ -70,8 +70,7 @@ func initDB() {
|
||||
,direction ENUM('incoming', 'outgoing')
|
||||
,date TIMESTAMP NOT NULL
|
||||
,text VARCHAR(4096) NOT NULL
|
||||
-- ,FOREIGN KEY (user_id) REFERENCES user(id) ON DELETE CASCADE
|
||||
) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_unicode_ci;`)
|
||||
) ENGINE = InnoDB CHARSET=utf8 COLLATE utf8_unicode_ci;`) // ,FOREIGN KEY (user_id) REFERENCES user(id) ON DELETE CASCADE
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user