MarwFeatures/Auth/resources/session.sql

7 lines
227 B
MySQL
Raw Normal View History

2018-10-12 21:49:10 +02:00
INSERT INTO `{prefix}sessions`
(`uuid`, `server`, `serverNick`, `ip`, `date`, `playtime`) VALUES
(?, ?, ?, ?, ?, ?, ?, ?)
ON DUPLICATE KEY
UPDATE
`playtime` = `playtime` + VALUES(`playtime`),
`date` = VALUES(`date`);