From b5b472a0b50dffc61540cc1302b7d8a6d4490f7e Mon Sep 17 00:00:00 2001 From: Fabian Wolf Date: Thu, 16 Mar 2023 13:02:27 +0100 Subject: [PATCH] Release 7.19 --- include/inc.ilias_version.php | 4 ++-- setup/sql/ilDBTemplate.php | 10 ++++++++-- setup/sql/ilias3.sql | 12 +++++++----- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/include/inc.ilias_version.php b/include/inc.ilias_version.php index 684562920155..6f6f99e1706a 100644 --- a/include/inc.ilias_version.php +++ b/include/inc.ilias_version.php @@ -9,5 +9,5 @@ * * @package ilias-core */ -define("ILIAS_VERSION", "7.18 2023-02-01"); -define("ILIAS_VERSION_NUMERIC", "7.18"); // since version ILIAS 6 this must be always x.y: x and y are numbers +define("ILIAS_VERSION", "7.19 2023-03-16"); +define("ILIAS_VERSION_NUMERIC", "7.19"); // since version ILIAS 6 this must be always x.y: x and y are numbers diff --git a/setup/sql/ilDBTemplate.php b/setup/sql/ilDBTemplate.php index d2d11baccdfe..87dd03d82ebf 100644 --- a/setup/sql/ilDBTemplate.php +++ b/setup/sql/ilDBTemplate.php @@ -16923,6 +16923,9 @@ function setupILIASDatabase() $pk_fields = array("id"); $ilDB->addPrimaryKey("il_dcl_field_prop", $pk_fields); +$in_fields = array("id","field_id"); +$ilDB->addIndex("il_dcl_field_prop", $in_fields, "i1", false); + $ilDB->createSequence("il_dcl_field_prop", 1); @@ -17721,6 +17724,9 @@ function setupILIASDatabase() $pk_fields = array("id"); $ilDB->addPrimaryKey("il_dcl_tview_set", $pk_fields); +$in_fields = array("tableview_id"); +$ilDB->addIndex("il_dcl_tview_set", $in_fields, "i1", false); + $ilDB->createSequence("il_dcl_tview_set", 1); @@ -30717,7 +30723,7 @@ function setupILIASDatabase() ) ,"title" => array ( "notnull" => false - ,"length" => 128 + ,"length" => 255 ,"fixed" => false ,"type" => "text" ) @@ -48777,7 +48783,7 @@ function setupILIASDatabase() 'module' => array('text', 'common'), 'keyword' => array('text', 'inst_id'), 'value' => array('clob', '0'))); $ilDB->insert("settings", array( -'module' => array('text', 'common'), 'keyword' => array('text', 'db_hotfixes_7'), 'value' => array('clob', '93'))); +'module' => array('text', 'common'), 'keyword' => array('text', 'db_hotfixes_7'), 'value' => array('clob', '95'))); $ilDB->insert("settings", array( 'module' => array('text', 'adve'), 'keyword' => array('text', 'autosave'), 'value' => array('clob', '30'))); diff --git a/setup/sql/ilias3.sql b/setup/sql/ilias3.sql index e674a738ab27..4875dd64fa20 100644 --- a/setup/sql/ilias3.sql +++ b/setup/sql/ilias3.sql @@ -7312,7 +7312,8 @@ CREATE TABLE `il_dcl_field_prop` ( `field_id` bigint(20) NOT NULL DEFAULT 0, `name` varchar(4000) NOT NULL DEFAULT '', `value` varchar(4000) DEFAULT NULL, - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + KEY `i1_idx` (`id`,`field_id`) ) ; -- @@ -7802,7 +7803,8 @@ CREATE TABLE `il_dcl_tview_set` ( `visible_edit` tinyint(4) NOT NULL DEFAULT 1, `required_edit` tinyint(4) NOT NULL DEFAULT 0, `locked_edit` tinyint(4) NOT NULL DEFAULT 0, - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + KEY `i1_idx` (`tableview_id`) ) ; -- @@ -13408,7 +13410,7 @@ CREATE TABLE `object_reference_ws_seq` ( CREATE TABLE `object_translation` ( `obj_id` int(11) NOT NULL DEFAULT 0, - `title` varchar(128) DEFAULT NULL, + `title` varchar(255) DEFAULT NULL, `description` varchar(4000) DEFAULT NULL, `lang_code` char(2) NOT NULL DEFAULT '', `lang_default` tinyint(4) NOT NULL DEFAULT 0, @@ -20412,7 +20414,7 @@ INSERT INTO `settings` VALUES ('common','soap_connect_timeout','0'); INSERT INTO `settings` VALUES ('common','rpc_server_host',''); INSERT INTO `settings` VALUES ('common','rpc_server_port','0'); INSERT INTO `settings` VALUES ('common','inst_id','0'); -INSERT INTO `settings` VALUES ('common','db_hotfixes_7','93'); +INSERT INTO `settings` VALUES ('common','db_hotfixes_7','95'); INSERT INTO `settings` VALUES ('adve','autosave','30'); INSERT INTO `settings` VALUES ('common','rep_favourites','1'); @@ -25024,4 +25026,4 @@ CREATE TABLE `xmlvalue_seq` ( --- Dump completed on 2023-02-01 15:14:27 +-- Dump completed on 2023-03-16 12:57:13