Changed shares to BIGINT data type to account for BTC having far more shares than can be handled by standard INT datatype
This commit is contained in:
parent
1cd2f635cd
commit
d6d68cb8b0
@ -182,10 +182,10 @@ CREATE TABLE IF NOT EXISTS `statistics_shares` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`account_id` int(10) unsigned NOT NULL,
|
||||
`block_id` int(10) unsigned NOT NULL,
|
||||
`valid` int(11) NOT NULL,
|
||||
`invalid` int(11) NOT NULL DEFAULT '0',
|
||||
`pplns_valid` int(11) NOT NULL,
|
||||
`pplns_invalid` int(11) NOT NULL DEFAULT '0',
|
||||
`valid` bigint(20) NOT NULL,
|
||||
`invalid` bigint(20) NOT NULL DEFAULT '0',
|
||||
`pplns_valid` bigint(20) NOT NULL,
|
||||
`pplns_invalid` bigint(20) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `account_id` (`account_id`),
|
||||
KEY `block_id` (`block_id`)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user