♻️ chore: update database schema docs path from developer to development

This commit is contained in:
YuTengjing 2025-04-09 19:31:35 +08:00
parent bab38e0bcc
commit 2e763f808c
4 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'docs/developer/database-schema.dbml'
- 'docs/development/database-schema.dbml'
jobs:
build:

View file

@ -42,7 +42,7 @@
"db:push": "drizzle-kit push",
"db:push-test": "NODE_ENV=test drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:visualize": "dbdocs build docs/developer/database-schema.dbml --project lobe-chat",
"db:visualize": "dbdocs build docs/development/database-schema.dbml --project lobe-chat",
"db:z-pull": "drizzle-kit introspect",
"dev": "next dev --turbopack -p 3010",
"docs:i18n": "lobe-i18n md && npm run lint:md && npm run lint:mdx",

View file

@ -3,7 +3,7 @@ import { join } from 'node:path';
import * as schema from '../../src/database/schemas';
const out = join(__dirname,'../../docs/developer/database-schema.dbml');
const out = join(__dirname, '../../docs/development/database-schema.dbml');
const relational = true;
pgGenerate({ out, relational, schema });