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`;