Skip to content

docs: Add anonymous migration classes documentation#1056

Merged
markstory merged 1 commit into5.x-newdocsfrom
docs-anonymous-migrations
Mar 26, 2026
Merged

docs: Add anonymous migration classes documentation#1056
markstory merged 1 commit into5.x-newdocsfrom
docs-anonymous-migrations

Conversation

@dereuromark
Copy link
Copy Markdown
Member

Summary

  • Add documentation for the --style anonymous option in bake migration
  • Document the global Migrations.style configuration option

The anonymous migration classes feature was already documented for seeds but was missing for migrations. This adds equivalent documentation to writing-migrations.md including:

  • Benefits of anonymous migration classes
  • Command usage example with --style anonymous
  • Generated code structure showing the anonymous class format
  • Global configuration option (Migrations.style) that applies to both migrations and seeds

Document the --style anonymous option for bake migration including:
- Benefits of anonymous migration classes
- Command usage example
- Generated code structure
- Global Migrations.style configuration option
@dereuromark dereuromark requested a review from josbeir March 23, 2026 21:54
@markstory markstory merged commit 24e53a2 into 5.x-newdocs Mar 26, 2026
14 checks passed
@markstory markstory deleted the docs-anonymous-migrations branch March 26, 2026 03:08
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.

2 participants