Update mmcfe_ng_structure.sql
This commit is contained in:
parent
a45bc6dbef
commit
5aae168d19
@ -81,6 +81,7 @@ CREATE TABLE IF NOT EXISTS `pool_worker` (
|
|||||||
`username` char(50) DEFAULT NULL,
|
`username` char(50) DEFAULT NULL,
|
||||||
`password` char(255) DEFAULT NULL,
|
`password` char(255) DEFAULT NULL,
|
||||||
`monitor` tinyint(1) NOT NULL DEFAULT '0',
|
`monitor` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
|
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `username` (`username`),
|
UNIQUE KEY `username` (`username`),
|
||||||
KEY `account_id` (`account_id`)
|
KEY `account_id` (`account_id`)
|
||||||
@ -102,6 +103,7 @@ CREATE TABLE IF NOT EXISTS `shares` (
|
|||||||
`reason` varchar(50) DEFAULT NULL,
|
`reason` varchar(50) DEFAULT NULL,
|
||||||
`solution` varchar(257) NOT NULL,
|
`solution` varchar(257) NOT NULL,
|
||||||
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
|
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `time` (`time`),
|
KEY `time` (`time`),
|
||||||
KEY `upstream_result` (`upstream_result`),
|
KEY `upstream_result` (`upstream_result`),
|
||||||
@ -117,6 +119,7 @@ CREATE TABLE IF NOT EXISTS `shares_archive` (
|
|||||||
`upstream_result` enum('Y','N') DEFAULT NULL,
|
`upstream_result` enum('Y','N') DEFAULT NULL,
|
||||||
`block_id` int(10) unsigned NOT NULL,
|
`block_id` int(10) unsigned NOT NULL,
|
||||||
`time` datetime NOT NULL,
|
`time` datetime NOT NULL,
|
||||||
|
`difficulty` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `share_id` (`share_id`),
|
UNIQUE KEY `share_id` (`share_id`),
|
||||||
KEY `time` (`time`)
|
KEY `time` (`time`)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user