Codex EweserDB Drizzle Migrations in a Local Development Database
Generate a new migration from the auth server schema, review the SQL, and verify the result in a local development database.
中文Install in Codex
Codex, the pinned EweserDB checkout, the Node.js and Drizzle toolchain, and an isolated local PostgreSQL database.
- Copy the pinned `.codex/skills/eweser-migration/` directory into `.agents/skills/eweser-migration/` in the project.
- Select `$eweser-migration` and locate the auth server schema, Drizzle configuration, and migration history.
Example task
In a practice branch, add a nullable language field to a fictional user-preferences table. Review whether the new SQL only adds that column.What to check
Expect a new migration, preserved data and history, and recorded local migration and test results.
Original SKILL.md on GitHub · Updated
Frequently asked question
What if an applied migration appears wrong?
Keep applied migrations intact and generate a new corrective migration.