upd
This commit is contained in:
parent
eb08faf245
commit
bca3777f2e
2
sql.go
2
sql.go
@ -143,7 +143,7 @@ func putMsg(m ChatWarsMessage) error {
|
||||
}
|
||||
objId, err := res.LastInsertId()
|
||||
|
||||
stmt, err := db.Prepare(`INSERT INTO msg (obj_id, msg_id, chat_id, sender_user_id, date , text)
|
||||
stmt, err := db.Prepare(`INSERT INTO obj_msg (obj_id, msg_id, chat_id, sender_user_id, date , text)
|
||||
VALUES (?, ?, ?, ?, FROM_UNIXTIME(?), ?);`)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user