From 4edf7c2a4c06cb6258fa8aa4ad1d5438b10d1d91 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 2 Jul 2020 17:08:17 +0800 Subject: [PATCH] V6__api_test_environment.sql --- .../db/migration/V6__api_test_environment.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 backend/src/main/resources/db/migration/V6__api_test_environment.sql diff --git a/backend/src/main/resources/db/migration/V6__api_test_environment.sql b/backend/src/main/resources/db/migration/V6__api_test_environment.sql new file mode 100644 index 0000000000..02c5a1473a --- /dev/null +++ b/backend/src/main/resources/db/migration/V6__api_test_environment.sql @@ -0,0 +1,14 @@ +CREATE TABLE IF NOT EXISTS `api_test_environment` ( + `id` varchar(50) NOT NULL COMMENT 'Api Test Environment ID', + `name` varchar(64) NOT NULL COMMENT 'Api Test Environment Name', + `project_id` varchar(50) NOT NULL COMMENT 'Project ID', + `protocol` varchar(20) NOT NULL COMMENT 'Api Test Protocol', + `socket` varchar(225) NOT NULL COMMENT 'Api Test Socket', + `domain` varchar(225) NOT NULL COMMENT 'Api Test Domain', + `port` int(10) DEFAULT NULL COMMENT 'Api Test Port', + `variables` text DEFAULT NULL COMMENT 'Global ariables', + `headers` text DEFAULT NULL COMMENT 'Global Heards', + `custom_data` longtext COMMENT 'Custom Data (JSON format)', + PRIMARY KEY (`id`), + KEY `project_id` ( `project_id` ) +) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;