Erased the deprecated field 'no_link_color' in table 'tlayout_data'

This commit is contained in:
mdtrooper 2014-11-04 17:21:15 +01:00
parent 45c33786e3
commit 97278f60d2
7 changed files with 25 additions and 7 deletions

View File

@ -2,4 +2,14 @@
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout DROP COLUMN fullscreen;
ALTER TABLE tlayout DROP COLUMN fullscreen;
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout_data DROP COLUMN no_link_color;

View File

@ -2,4 +2,10 @@
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout DROP COLUMN fullscreen;
ALTER TABLE tlayout DROP COLUMN fullscreen;
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE tlayout_data DROP COLUMN no_link_color;

View File

@ -2,4 +2,10 @@
-- Table `tlayout`
-- ---------------------------------------------------------------------
ALTER TABLE "tlayout" DROP COLUMN "fullscreen";
ALTER TABLE "tlayout" DROP COLUMN "fullscreen";
-- ---------------------------------------------------------------------
-- Table `tlayout_data`
-- ---------------------------------------------------------------------
ALTER TABLE "tlayout_data" DROP COLUMN "no_link_color";

View File

@ -612,7 +612,6 @@ switch ($action) {
$values['id_layout_linked'] = $map_linked;
$values['label_color'] = $label_color;
$values['parent_item'] = $parent;
$values['no_link_color'] = 1;
$values['enable_link'] = $enable_link;
$values['id_custom_graph'] = $id_custom_graph;

View File

@ -1246,7 +1246,6 @@ CREATE TABLE tlayout_data (
id_layout_linked NUMBER(10, 0) default 0 NOT NULL,
parent_item NUMBER(10, 0) default 0 NOT NULL,
label_color varchar(20) DEFAULT '',
no_link_color NUMBER(5, 0) default 0 NOT NULL,
enable_link NUMBER(5, 0) default 1 NOT NULL,
id_metaconsole NUMBER(10, 0) default 0 NOT NULL,
id_group NUMBER(10, 0) default 0 NOT NULL,

View File

@ -1098,7 +1098,6 @@ CREATE TABLE "tlayout_data" (
"id_layout_linked" INTEGER NOT NULL default 0,
"parent_item" INTEGER NOT NULL default 0,
"label_color" varchar(20) DEFAULT '',
"no_link_color" SMALLINT NOT NULL default 0,
"enable_link" SMALLINT NOT NULL default 1,
"id_metaconsole" INTEGER NOT NULL default 0,
"id_group" INTEGER NOT NULL default 0,

View File

@ -1186,7 +1186,6 @@ CREATE TABLE IF NOT EXISTS `tlayout_data` (
`id_layout_linked` INTEGER unsigned NOT NULL default '0',
`parent_item` INTEGER UNSIGNED NOT NULL default 0,
`label_color` varchar(20) DEFAULT "",
`no_link_color` tinyint(1) UNSIGNED NOT NULL default 0,
`enable_link` tinyint(1) UNSIGNED NOT NULL default 1,
`id_metaconsole` int(10) NOT NULL default 0,
`id_group` INTEGER UNSIGNED NOT NULL default 0,