Skip to content

Commit

Permalink
[UPDATE] Base Structure with new DOUBLE
Browse files Browse the repository at this point in the history
  • Loading branch information
MPOS123 committed Jun 30, 2014
1 parent 1a3d5e6 commit b987358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/000_base_structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ CREATE TABLE IF NOT EXISTS `settings` (
UNIQUE KEY `setting` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.11');
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.12');

CREATE TABLE IF NOT EXISTS `shares` (
`id` bigint(30) NOT NULL AUTO_INCREMENT,
Expand Down Expand Up @@ -216,7 +216,7 @@ CREATE TABLE IF NOT EXISTS `transactions` (
`account_id` int(255) unsigned NOT NULL,
`type` varchar(25) DEFAULT NULL,
`coin_address` varchar(255) DEFAULT NULL,
`amount` double DEFAULT '0',
`amount` double(60,30) DEFAULT '0',
`block_id` int(255) DEFAULT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`txid` varchar(256) DEFAULT NULL,
Expand Down

0 comments on commit b987358

Please sign in to comment.