Skip to content

feat: add pretend support to seed run command#49

Open
elpete wants to merge 2 commits intomasterfrom
fix/pretend-seed
Open

feat: add pretend support to seed run command#49
elpete wants to merge 2 commits intomasterfrom
fix/pretend-seed

Conversation

@elpete
Copy link
Copy Markdown
Collaborator

@elpete elpete commented Apr 3, 2026

No description provided.

elpete and others added 2 commits April 2, 2026 20:46
Seeds do not support pretend mode, so running them during `migrate up --pretend --seed` would execute real SQL against the database, defeating the purpose of pretend mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add --pretend and --file flags to `migrate seed run`
- Display SQL that would have been run when pretend is true
- Pass pretend through to cfmigrations when running seeds via `migrate up --seed --pretend`

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant