Maintenance - Mise à jour mensuelle Lundi 6 Avril 2020 entre 7h00 et 9h00

Commit 2af31e74 authored by Jerome Mariette's avatar Jerome Mariette

make storage_size bigint

parent bfe25609
......@@ -892,7 +892,7 @@ CREATE TABLE IF NOT EXISTS `tx_nG6_analyze` (
`version` varchar(255) NOT NULL DEFAULT '',
`params` text NOT NULL,
`is_editable` boolean NOT NULL DEFAULT FALSE,
`storage_size` int(11) NOT NULL DEFAULT '0',
`storage_size` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`),
KEY `parent` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......@@ -975,7 +975,7 @@ CREATE TABLE IF NOT EXISTS `tx_nG6_run` (
`full_seq_size` varchar(255) NOT NULL DEFAULT '0',
`description` varchar(255) NOT NULL DEFAULT '',
`sequencer` varchar(255) NOT NULL DEFAULT '',
`storage_size` int(11) NOT NULL DEFAULT '0',
`storage_size` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`),
KEY `parent` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......
......@@ -117,13 +117,13 @@ class tx_nG6_upgrade {
// Alter tx_nG6_analyze and add storage_size
$queryAlterTxNG6AnalayzeSsize = "
ALTER TABLE tx_nG6_analyze
ADD storage_size int(11) NOT NULL DEFAULT '0' AFTER is_editable
ADD storage_size bigint(20) NOT NULL DEFAULT '0' AFTER is_editable
";
// Alter tx_nG6_run and add storage_size
$queryAlterTxNG6Run = "
ALTER TABLE tx_nG6_run
ADD storage_size int(11) NOT NULL DEFAULT '0' AFTER sequencer
ADD storage_size bigint(20) NOT NULL DEFAULT '0' AFTER sequencer
";
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment