From 40c732d0213c70bbf9fda632af465a72f03bf409 Mon Sep 17 00:00:00 2001 From: zhishi <1951671751@qq.com> Date: Sat, 21 Mar 2026 18:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=86=E9=95=9C=E8=A1=A8?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/initDB.ts | 3 +++ src/types/database.d.ts | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/lib/initDB.ts b/src/lib/initDB.ts index 0631fb6..0a9e0da 100644 --- a/src/lib/initDB.ts +++ b/src/lib/initDB.ts @@ -314,6 +314,9 @@ export default async (knex: Knex, forceInit: boolean = false): Promise => table.text("seconds"); table.text("filePath"); table.text("frameType"); + table.text("camera"); + table.text("sound"); + table.text("associateAssetsIds"); table.integer("createTime"); table.primary(["id"]); table.unique(["id"]); diff --git a/src/types/database.d.ts b/src/types/database.d.ts index 775ad75..cc7ae3a 100644 --- a/src/types/database.d.ts +++ b/src/types/database.d.ts @@ -1,6 +1,16 @@ -// @db-hash 8af8e41e3ca0cb5ee554944515d72ba8 +// @db-hash 4e0fc4daee764ea1a80bacd64b0cac2b //该文件由脚本自动生成,请勿手动修改 +export interface _o_storyboard_old_20260321 { + 'createTime'?: number | null; + 'detail'?: string | null; + 'filePath'?: string | null; + 'frameType'?: string | null; + 'id'?: number; + 'name'?: string | null; + 'prompt'?: string | null; + 'seconds'?: string | null; +} export interface memories { 'content': string; 'createTime': number; @@ -162,6 +172,8 @@ export interface o_skills { 'startTime'?: number | null; } export interface o_storyboard { + 'associateAssetsIds'?: string | null; + 'camera'?: string | null; 'createTime'?: number | null; 'detail'?: string | null; 'filePath'?: string | null; @@ -170,6 +182,8 @@ export interface o_storyboard { 'name'?: string | null; 'prompt'?: string | null; 'seconds'?: string | null; + 'sound'?: string | null; + 'TEXT'?: any | null; } export interface o_storyboardFlow { 'flowData': string; @@ -242,6 +256,7 @@ export interface o_videoConfig { } export interface DB { + "_o_storyboard_old_20260321": _o_storyboard_old_20260321; "memories": memories; "o_agentDeploy": o_agentDeploy; "o_artStyle": o_artStyle;