Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next

This commit is contained in:
Sebastian Grewe 2013-05-13 17:57:19 +02:00
commit 910ebcd6bc

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: localhost -- Host: localhost
-- Erstellungszeit: 12. Mai 2013 um 16:52 -- Erstellungszeit: 13. Mai 2013 um 16:03
-- 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
@ -52,12 +52,14 @@ CREATE TABLE IF NOT EXISTS `accounts` (
CREATE TABLE IF NOT EXISTS `blocks` ( CREATE TABLE IF NOT EXISTS `blocks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`height` int(10) unsigned NOT NULL, `height` int(10) unsigned NOT NULL,
`blockhash` char(64) NOT NULL, `blockhash` char(65) NOT NULL,
`confirmations` int(10) unsigned NOT NULL, `confirmations` int(10) unsigned NOT NULL,
`amount` float NOT NULL, `amount` double NOT NULL,
`difficulty` float NOT NULL, `difficulty` double NOT NULL,
`time` int(11) NOT NULL, `time` int(11) NOT NULL,
`accounted` tinyint(1) NOT NULL DEFAULT '0', `accounted` tinyint(1) NOT NULL DEFAULT '0',
`account_id` int(255) unsigned DEFAULT NULL,
`shares` int(255) unsigned DEFAULT NULL,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `height` (`height`,`blockhash`), UNIQUE KEY `height` (`height`,`blockhash`),
KEY `time` (`time`) KEY `time` (`time`)