drizzle/update-schema
Source
Usage
bash
npm exec saf-workflow kickoff drizzle/update-schema <path>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:
- Copy template files and rename placeholders.
- Update example.ts to add the new table, or modify it.
- Run
npm run typecheck - Check that everything in example.ts is exported in the root
./schema.tsfile. - Run
npm run generate
Help Docs
bash
Usage: npm exec saf-workflow kickoff drizzle/update-schema <path>
Update a drizzle/sqlite3 schema.
Arguments:
path The path to the schema file to update
Example: "./schemas/example.ts"