pool/sql/2016-04-03-accounts.sql
Tanguy Pruvot a338131f28 sql: rename account last_login to last_earning
this column name was confusing, add an index btw...

beware with this commit, need mysql change + memcache restart
2016-04-03 15:19:52 +02:00

7 lines
224 B
SQL

-- Recent additions to add after db init (.gz)
-- mysql yaamp -p < file.sql
ALTER TABLE `accounts` CHANGE COLUMN `last_login` `last_earning` INT(10) NULL;
ALTER TABLE `accounts` ADD INDEX `earning` (`last_earning` DESC);