Merge pull request #84 from TheSerapher/sql-structure-update
New database structure
This commit is contained in:
commit
9193a859f5
@ -3,7 +3,7 @@
|
|||||||
-- http://www.phpmyadmin.net
|
-- http://www.phpmyadmin.net
|
||||||
--
|
--
|
||||||
-- Host: localhost
|
-- Host: localhost
|
||||||
-- Generation Time: May 29, 2013 at 11:00 AM
|
-- Generation Time: May 31, 2013 at 02:31 PM
|
||||||
-- Server version: 5.5.31-0ubuntu0.13.04.1
|
-- Server version: 5.5.31-0ubuntu0.13.04.1
|
||||||
-- PHP Version: 5.4.9-4ubuntu2
|
-- PHP Version: 5.4.9-4ubuntu2
|
||||||
|
|
||||||
@ -61,6 +61,7 @@ CREATE TABLE IF NOT EXISTS `blocks` (
|
|||||||
`accounted` tinyint(1) NOT NULL DEFAULT '0',
|
`accounted` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`account_id` int(255) unsigned DEFAULT NULL,
|
`account_id` int(255) unsigned DEFAULT NULL,
|
||||||
`shares` int(255) unsigned DEFAULT NULL,
|
`shares` int(255) unsigned DEFAULT NULL,
|
||||||
|
`share_id` int(255) DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `height` (`height`,`blockhash`),
|
UNIQUE KEY `height` (`height`,`blockhash`),
|
||||||
KEY `time` (`time`)
|
KEY `time` (`time`)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user