mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
this column name was confusing, add an index btw... beware with this commit, need mysql change + memcache restart
7 lines
224 B
SQL
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);
|
|
|