Update mmcfe_ng_structure.sql

This commit is contained in:
obigal 2013-07-02 14:58:44 -04:00 committed by Sebastian Grewe
parent f452f79f07
commit 528c7ee708

View File

@ -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`)