- TypeScript 62%
- Vue 37%
- JavaScript 0.7%
- CSS 0.2%
- Dockerfile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| app | ||
| drizzle | ||
| public | ||
| scripts | ||
| server | ||
| shared | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .prettierrc.json | ||
| app.config.ts | ||
| docker-compose.yml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| eslint.config.mjs | ||
| nuxt.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| types.ts | ||
plusone
Database migrations
The server applies pending Drizzle migrations before using the database, including
in development. Migration failures prevent startup. Simultaneous starts are
serialized with a PostgreSQL advisory lock. The Docker image includes the
drizzle directory; when running the built server directly, run from the project
root and keep that directory alongside .output.
For an existing database whose schema was managed manually, explicitly baseline the migrations already applied before starting the updated server:
node scripts/baseline-migrations.mjs 28
This uses DATABASE_URL (also loaded from .env) and records migrations
0000–0028 in Drizzle's migration journal without executing their SQL. It does
not apply later migrations. Only baseline a database whose schema already includes
those changes; ordinary server startup never automatically baselines a database.