Update mmcfe_ng_structure.sql
This commit is contained in:
parent
f452f79f07
commit
528c7ee708
@ -82,6 +82,7 @@ CREATE TABLE IF NOT EXISTS `pool_worker` (
|
||||
`password` char(255) DEFAULT NULL,
|
||||
`difficulty` float NOT NULL DEFAULT '0',
|
||||
`monitor` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `username` (`username`),
|
||||
KEY `account_id` (`account_id`)
|
||||
@ -104,6 +105,7 @@ CREATE TABLE IF NOT EXISTS `shares` (
|
||||
`solution` varchar(257) NOT NULL,
|
||||
`difficulty` float NOT NULL DEFAULT '0',
|
||||
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `time` (`time`),
|
||||
KEY `upstream_result` (`upstream_result`),
|
||||
@ -120,6 +122,7 @@ CREATE TABLE IF NOT EXISTS `shares_archive` (
|
||||
`block_id` int(10) unsigned NOT NULL,
|
||||
`difficulty` float NOT NULL DEFAULT '0',
|
||||
`time` datetime NOT NULL,
|
||||
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `share_id` (`share_id`),
|
||||
KEY `time` (`time`)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user