5f99d2481a
- style-keys.md: add v-clicks to 3x2 grid for staggered animation - eino-graph.md: two-column layout (code left, Items right) - eino-deep-dive.md: two-column layout for both slides, code+Items side-by-side - async-deep-dive.md: two-column layout for both slides, SVG integrated - harness.md: two-column layout for slide 1 (code left, Items right) - request-journey.md: two-column layout for journey steps - data-model.md: add v-clicks to grid items, increase diagram height - architecture/pipeline/prompt-agent: increase SVG max-height for better visibility
27 lines
583 B
Markdown
27 lines
583 B
Markdown
# 数据模型与存储
|
|
|
|
四表结构,清晰的实体关系
|
|
|
|
<div class="flex justify-center">
|
|
<img src="../public/data-model.svg" class="w-full max-h-[240px] object-contain" />
|
|
</div>
|
|
|
|
<div class="grid grid-cols-2 gap-4 mt-2">
|
|
|
|
<v-clicks>
|
|
|
|
<Item title="👤 USER + PROJECT">
|
|
用户:`id`(base62)、`username`、`password_hash`(bcrypt)
|
|
工程:`id`、`user_id`、`name`
|
|
</Item>
|
|
|
|
<Item title="🎨 STYLE + TASK + ASSET">
|
|
风格表:`project_id` 一对一,`kv_pairs` JSON
|
|
任务:`prompt`、`status`、`progress`
|
|
素材:`file_url`、`metadata`
|
|
</Item>
|
|
|
|
</v-clicks>
|
|
|
|
</div>
|