upd
This commit is contained in:
parent
eb08faf245
commit
bca3777f2e
4
sql.go
4
sql.go
@ -143,8 +143,8 @@ 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)
|
||||
VALUES (?, ?, ?, ?, FROM_UNIXTIME(?), ?);`)
|
||||
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