feat(chibi): GET /api/chibi/history 近7天生成记录 + image_data 幂等迁移 + 4测试
This commit is contained in:
1 parent
125c20906c
commit
b33d5c466d
5 files changed
+171
-4
No files matched your search
@@ -49,6 +49,7 @@ CREATE TABLE IF NOT EXISTS chibi_generations (
|
||||
grid_size INTEGER NOT NULL,
|
||||
color_count INTEGER NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'pending',
|
||||
image_data TEXT,
|
||||
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
@@ -204,6 +205,7 @@ CREATE TABLE IF NOT EXISTS chibi_generations (
|
||||
grid_size INTEGER NOT NULL,
|
||||
color_count INTEGER NOT NULL,
|
||||
status TEXT NOT NULL DEFAULT 'pending',
|
||||
image_data TEXT,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user