docs: add migration system documentation and generated initial migrations

Added `README.md` to document the database migration system, including generation and usage instructions. Updated `generate-migrations.ts` to fix directory structure and streamline commands. Included initial migration files for schema setup using DrizzleORM.
This commit is contained in:
2025-05-15 18:08:30 +02:00
parent 7b6da2767e
commit 9515c32016
6 changed files with 1013 additions and 11 deletions

View File

@@ -0,0 +1,13 @@
{
"version": "6",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "6",
"when": 1747322785586,
"tag": "0000_lively_tiger_shark",
"breakpoints": true
}
]
}