diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index 34e54e0..40517fc 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -6,7 +6,7 @@ -- @since 0.0.2 DROP TABLE IF EXISTS `#__depot`; -CREATE TABLE `#__depot`( +CREATE TABLE `#__depot` ( `id` SERIAL, `component_name` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL COMMENT 'unique component name (ASCII characters only)', diff --git a/admin/sql/updates/mysql/0.0.1.sql b/admin/sql/updates/mysql/0.0.1.sql new file mode 100644 index 0000000..c744af0 --- /dev/null +++ b/admin/sql/updates/mysql/0.0.1.sql @@ -0,0 +1,8 @@ +-- @package Depot.SQL MariaDB -- UPDATE to 0.0.1 +-- @subpackage com_depot +-- @author Thomas Kuschel +-- @copyright (C) 2023 KW4NZ, +-- @license GNU General Public License version 2 or later; see LICENSE.md +-- @since 0.0.2 + +-- dummy \ No newline at end of file diff --git a/admin/sql/updates/mysql/0.0.2.sql b/admin/sql/updates/mysql/0.0.2.sql index 3c060dd..a582733 100644 --- a/admin/sql/updates/mysql/0.0.2.sql +++ b/admin/sql/updates/mysql/0.0.2.sql @@ -5,8 +5,7 @@ -- @license GNU General Public License version 2 or later; see LICENSE.md -- @since 0.0.2 -DROP TABLE IF EXISTS `#__depot`; -CREATE TABLE `#__depot`( +CREATE TABLE IF NOT EXISTS `#__depot` ( `id` SERIAL, `component_name` VARCHAR(1024) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL COMMENT 'unique component name (ASCII characters only)',