update-schema
Source
Usage
bash
npm exec saf-workflow kickoff update-schema [options]
To run this workflow automatically, tell the agent to:
- Navigate to the target package
- Run this command
- Follow the instructions until done
Checklist
When run, the workflow will:
- Review the project spect, and read the guidelines for tables and columns in the schema doc.
- Find the right schema file in this folder and update it based on the spec.
- Run
npm run generate
- If any new tables were created, make sure to add the inferred types to
./types.ts
so they're exported in./index.ts
.
Help Docs
bash
Usage: saf-workflow kickoff update-schema [options]
Update a drizzle/sqlite3 schema.
Options:
-h, --help display help for command