From e4d65772ff43c389048f6a34a200bd97301074f5 Mon Sep 17 00:00:00 2001 From: disc5 Date: Tue, 17 Nov 2015 12:08:15 +0100 Subject: [PATCH] Prepared Restplugin v1.3.0 --- .../UserInterfaceHook/REST/plugin.php | 2 +- .../UserInterfaceHook/REST/sql/dbupdate.php | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/plugin.php b/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/plugin.php index 00eb32c4..0843fd38 100755 --- a/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/plugin.php +++ b/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/plugin.php @@ -8,7 +8,7 @@ $id = "rest"; -$version = "1.2"; +$version = "1.3"; $ilias_min_version = "4.0.0"; $ilias_max_version = "5.2.0"; diff --git a/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/sql/dbupdate.php b/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/sql/dbupdate.php index 89b5176d..c26987b1 100755 --- a/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/sql/dbupdate.php +++ b/Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST/sql/dbupdate.php @@ -134,14 +134,7 @@ 'length' => 1, 'notnull' => true, 'default' => 0 - ), - 'description' => array( - 'type' => 'text', - 'length' => 1000, - 'fixed' => false, - 'notnull' => false, - 'default' => "" - ), + ) ); $ilDB->createTable("ui_uihk_rest_keys", $fields, true); $ilDB->addPrimaryKey("ui_uihk_rest_keys", array("id")); @@ -467,3 +460,10 @@ function gen_uuid() { foreach (glob(realpath(__DIR__).'/extensions/*/sql/dbupdate.php') as $filename) include_once($filename); ?> + +<#14> +manipulate('ALTER TABLE ui_uihk_rest_keys ADD description VARCHAR( 1000 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL'); +?>