CHG SQL style for creating the table

This commit is contained in:
Thomas Kuschel 2023-10-04 20:55:41 +02:00
parent d9dcfeea3a
commit 618a995a94
3 changed files with 10 additions and 3 deletions

View File

@ -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)',

View File

@ -0,0 +1,8 @@
-- @package Depot.SQL MariaDB -- UPDATE to 0.0.1
-- @subpackage com_depot
-- @author Thomas Kuschel <thomas@kuschel.at>
-- @copyright (C) 2023 KW4NZ, <https://www.kuschel.at>
-- @license GNU General Public License version 2 or later; see LICENSE.md
-- @since 0.0.2
-- dummy

View File

@ -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)',