adhikareeprayush / adhikareeprayush/slide-forge

Add Drizzle SQL migrations

未關閉
#28 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
database help wanted infrastructure self-hosting
主要語言
TypeScript
星號
0
分支
3
PR 合併指標
30 天內沒有已合併 PR

描述

## Summary
Schema uses `drizzle-kit push` only. The `migrations/` folder is empty — not production-safe.

## Tasks
- [ ] Generate initial migration from current schema
- [ ] Add `db:migrate` script
- [ ] Update `db:setup` to use migrations in CI/production
- [ ] Document migration workflow in CONTRIBUTING.md

## Files
- `apps/api/drizzle.config.ts`
- `apps/api/src/db/schema.ts`
- `apps/api/src/db/migrations/`
- `package.json`

貢獻指南

開啟貢獻指南

研究方向

Start by reading apps/api/drizzle.config.ts and apps/api/src/db/schema.ts, then inspect the existing db:setup and related scripts in package.json. Generate the initial migration in apps/api/src/db/migrations/, add db:migrate, update setup for CI and production, and document the workflow in CONTRIBUTING.md; done means all four checklist tasks are complete.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
databases, devops, documentation
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。