From 1fa37b5c187b9e477aea93bba62682d59fa7bd89 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 21 Jun 2024 15:53:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BDticket?= =?UTF-8?q?=E7=9B=B8=E5=85=B3flyway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/migration/V2.8__ddl.sql | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/core/core-backend/src/main/resources/db/migration/V2.8__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.8__ddl.sql index dc361259ef..6dcf4ba043 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.8__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.8__ddl.sql @@ -20,4 +20,17 @@ CREATE TABLE `xpack_plugin` ) COMMENT ='插件表'; ALTER TABLE `xpack_share` - ADD COLUMN `ticket_require` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'ticket必须' AFTER `auto_pwd`; \ No newline at end of file + ADD COLUMN `ticket_require` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'ticket必须' AFTER `auto_pwd`; + + +DROP TABLE IF EXISTS `core_share_ticket`; +CREATE TABLE `core_share_ticket` +( + `id` bigint NOT NULL COMMENT 'ID', + `uuid` varchar(255) NOT NULL COMMENT '分享uuid', + `ticket` varchar(255) NOT NULL COMMENT 'ticket', + `exp` bigint DEFAULT NULL COMMENT 'ticket有效期', + `args` longtext COMMENT 'ticket参数', + `access_time` bigint DEFAULT NULL COMMENT '首次访问时间', + PRIMARY KEY (`id`) +) COMMENT ='分享Ticket表'; \ No newline at end of file