mirror of
https://github.com/certd/certd.git
synced 2026-08-07 06:18:04 +08:00
chore: plugin 有store page版本
This commit is contained in:
@@ -2,6 +2,8 @@ ALTER TABLE "cd_audit_log" ADD COLUMN "scope" varchar(32) NOT NULL DEFAULT ('use
|
||||
CREATE INDEX "index_audit_log_scope" ON "cd_audit_log" ("scope");
|
||||
|
||||
ALTER TABLE "cd_audit_log" ADD COLUMN "success" boolean NOT NULL DEFAULT (1);
|
||||
-- 删除project_name字段
|
||||
ALTER TABLE "cd_audit_log" DROP COLUMN "project_name";
|
||||
|
||||
-- 审计日志表索引
|
||||
CREATE INDEX "index_audit_log_type" ON "cd_audit_log" ("type");
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
CREATE TABLE "pi_plugin_market_item"
|
||||
(
|
||||
"id" integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
"app_id" integer,
|
||||
"full_name" varchar(200) NOT NULL,
|
||||
"author" varchar(100),
|
||||
"name" varchar(100),
|
||||
"plugin_type" varchar(100),
|
||||
"title" varchar(200),
|
||||
"icon" varchar(200),
|
||||
"group" varchar(100),
|
||||
"desc" varchar(1000),
|
||||
"latest" varchar(100),
|
||||
"status" varchar(100),
|
||||
"download_count" integer,
|
||||
"sync_time" integer,
|
||||
"create_time" datetime NOT NULL DEFAULT (CURRENT_TIMESTAMP),
|
||||
"update_time" datetime NOT NULL DEFAULT (CURRENT_TIMESTAMP)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX "index_plugin_market_item_full_name" ON "pi_plugin_market_item" ("full_name");
|
||||
CREATE INDEX "index_plugin_market_item_plugin_type" ON "pi_plugin_market_item" ("plugin_type");
|
||||
CREATE INDEX "index_plugin_market_item_group" ON "pi_plugin_market_item" ("group");
|
||||
CREATE INDEX "index_plugin_market_item_sync_time" ON "pi_plugin_market_item" ("sync_time");
|
||||
Reference in New Issue
Block a user