mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
♻️ chore: update database schema docs path from developer to development
This commit is contained in:
parent
bab38e0bcc
commit
2e763f808c
4 changed files with 3 additions and 3 deletions
2
.github/workflows/sync-database-schema.yml
vendored
2
.github/workflows/sync-database-schema.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/developer/database-schema.dbml'
|
||||
- 'docs/development/database-schema.dbml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Reference in a new issue