fix "field doesn't have a default values" error
Otherwise cron will return error: `Failed to update share statistics for %username%: SQL Query failed: 1364`
This commit is contained in:
parent
3b232951be
commit
cdba6ce722
@ -182,9 +182,9 @@ CREATE TABLE IF NOT EXISTS `statistics_shares` (
|
|||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`account_id` int(10) unsigned NOT NULL,
|
`account_id` int(10) unsigned NOT NULL,
|
||||||
`block_id` int(10) unsigned NOT NULL,
|
`block_id` int(10) unsigned NOT NULL,
|
||||||
`valid` bigint(20) NOT NULL,
|
`valid` bigint(20) NOT NULL DEFAULT '0',
|
||||||
`invalid` bigint(20) NOT NULL DEFAULT '0',
|
`invalid` bigint(20) NOT NULL DEFAULT '0',
|
||||||
`pplns_valid` bigint(20) NOT NULL,
|
`pplns_valid` bigint(20) NOT NULL DEFAULT '0',
|
||||||
`pplns_invalid` bigint(20) NOT NULL DEFAULT '0',
|
`pplns_invalid` bigint(20) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `account_id` (`account_id`),
|
KEY `account_id` (`account_id`),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user