diff --git a/assets/schema/dbgpt.sql b/assets/schema/dbgpt.sql index 237091b1e..0cdd7d17e 100644 --- a/assets/schema/dbgpt.sql +++ b/assets/schema/dbgpt.sql @@ -17,6 +17,7 @@ CREATE TABLE IF NOT EXISTS `knowledge_space` `id` int NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', `name` varchar(100) NOT NULL COMMENT 'knowledge space name', `vector_type` varchar(50) NOT NULL COMMENT 'vector type', + `domain_type` varchar(50) NOT NULL COMMENT 'domain type', `desc` varchar(500) NOT NULL COMMENT 'description', `owner` varchar(100) DEFAULT NULL COMMENT 'owner', `context` TEXT DEFAULT NULL COMMENT 'context argument', diff --git a/assets/schema/upgrade/v0_5_10/v0.5.10.sql b/assets/schema/upgrade/v0_5_10/v0.5.9.sql similarity index 99% rename from assets/schema/upgrade/v0_5_10/v0.5.10.sql rename to assets/schema/upgrade/v0_5_10/v0.5.9.sql index 248e294d6..deadb7f2b 100644 --- a/assets/schema/upgrade/v0_5_10/v0.5.10.sql +++ b/assets/schema/upgrade/v0_5_10/v0.5.9.sql @@ -1,4 +1,4 @@ --- Full SQL of v0.5.8, please not modify this file(It must be same as the file in the release package) +-- Full SQL of v0.5.9, please not modify this file(It must be same as the file in the release package) CREATE DATABASE IF NOT EXISTS dbgpt; @@ -16,7 +16,6 @@ CREATE TABLE IF NOT EXISTS `knowledge_space` `id` int NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', `name` varchar(100) NOT NULL COMMENT 'knowledge space name', `vector_type` varchar(50) NOT NULL COMMENT 'vector type', - `field_type` varchar(50) NOT NULL COMMENT 'field type', `desc` varchar(500) NOT NULL COMMENT 'description', `owner` varchar(100) DEFAULT NULL COMMENT 'owner', `context` TEXT DEFAULT NULL COMMENT 'context argument',