Skip to content

feat: auto ORM reset mode#934

Draft
kbond wants to merge 1 commit into
zenstruck:2.xfrom
kbond:orm-reset-mode-auto
Draft

feat: auto ORM reset mode#934
kbond wants to merge 1 commit into
zenstruck:2.xfrom
kbond:orm-reset-mode-auto

Conversation

@kbond

@kbond kbond commented Jun 5, 2025

Copy link
Copy Markdown
Member
  • if migrations enabled and available: migrate
  • otherwise: schema

TODO

  • Tests (2 permutations: auto w/o migrations, auto /w migrations)
  • Docs
  • Add auto to recipe?
  • Deprecate not setting so we can default to auto in 3.0
  • Throw exception when migration_configurations is used and mode !== migrate

- if migrations enabled and available: `migrate`
- otherwise: `schema`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant