From 009ded7d5dfcce8829f693383c4f89a64ae44d6d Mon Sep 17 00:00:00 2001 From: Pavel Stratil Date: Mon, 9 Oct 2023 07:12:51 +0000 Subject: [PATCH] fix up/down in migration --- glued/Config/Migrations/20231009002603_services.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glued/Config/Migrations/20231009002603_services.sql b/glued/Config/Migrations/20231009002603_services.sql index 62b591f..6a02794 100644 --- a/glued/Config/Migrations/20231009002603_services.sql +++ b/glued/Config/Migrations/20231009002603_services.sql @@ -1,9 +1,5 @@ -- migrate:up -DROP TABLE IF EXISTS `t_if__services`; - --- migrate:down - CREATE TABLE `t_if__services` ( `c_uuid` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),true)) COMMENT 'IF service instance uuid (v4), autogenerated on SQL insert if not provided. NOTE to always insert with UUID_TO_BIN(UUID(), true)', `c_data` json NOT NULL COMMENT 'JSON data', @@ -16,3 +12,7 @@ CREATE TABLE `t_if__services` ( UNIQUE KEY `c_hash` (`c_hash`), KEY `idx_type` (`c_type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='Integration framework service instances (service / remote host / authentication).'; + +-- migrate:down + +DROP TABLE IF EXISTS `t_if__services`;