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

Commit caee2cd5 authored by Penom Nom's avatar Penom Nom

correction of bug while creating comment tables

parent da901539
......@@ -1006,8 +1006,8 @@ CREATE TABLE IF NOT EXISTS `tx_nG6_sample` (
`sample_id` varchar(255) NOT NULL DEFAULT '',
`name` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`reads1` text NOT NULL DEFAULT '',
`reads2` text NOT NULL DEFAULT '',
`reads1` text ,
`reads2` text ,
`type` varchar(255) NOT NULL DEFAULT '',
`insert_size` int(11) NOT NULL DEFAULT '0',
`species` varchar(255) NOT NULL DEFAULT '',
......@@ -1025,7 +1025,7 @@ CREATE TABLE IF NOT EXISTS `tx_nG6_comment` (
`cruser_id` int(11) NOT NULL DEFAULT '0',
`deleted` tinyint(4) NOT NULL DEFAULT '0',
`hidden` tinyint(4) NOT NULL DEFAULT '0',
`comment` text NOT NULL DEFAULT '',
`comment` text ,
PRIMARY KEY (`uid`),
KEY `parent` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......
......@@ -205,7 +205,7 @@ class tx_nG6_upgrade {
`cruser_id` int(11) NOT NULL DEFAULT '0',
`deleted` tinyint(4) NOT NULL DEFAULT '0',
`hidden` tinyint(4) NOT NULL DEFAULT '0',
`comment` text NOT NULL DEFAULT '',
`comment` text NOT NULL,
PRIMARY KEY (`uid`),
KEY `parent` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......@@ -291,8 +291,8 @@ class tx_nG6_upgrade {
$queryAlterTxNG6SampleAddColumns = "
ALTER TABLE tx_nG6_sample
ADD `description` varchar(255) NOT NULL DEFAULT '' AFTER name ,
ADD `reads1` text NOT NULL DEFAULT '' AFTER description,
ADD `reads2` text NOT NULL DEFAULT '' AFTER reads1,
ADD `reads1` text AFTER description,
ADD `reads2` text AFTER reads1,
ADD `type` varchar(255) NOT NULL DEFAULT '' AFTER reads2,
ADD `insert_size` int(11) NOT NULL DEFAULT '0' AFTER type,
ADD `species` varchar(255) NOT NULL DEFAULT '' AFTER insert_size,
......
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