php-mpos/sql/017_blocks_update.sql
Sebastian Grewe 75c20a4baa [SQL] Updated blocks table share_id to bigint
Will avoid issues with BIGINT from shares table getting too big for the
INT on the blocks share_id column.

Thanks IRC@webxassDE for the heads up!
2014-03-04 10:21:46 +01:00

3 lines
201 B
SQL

ALTER TABLE `blocks` CHANGE `share_id` `share_id` BIGINT( 30 ) NULL DEFAULT NULL ;
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.7') ON DUPLICATE KEY UPDATE `value` = '0.0.7';