Skip to content

Conversation

@luislavena
Copy link
Owner

The new drift:up and drift:down markers align with standard migration terminology used by most database migration tools. The shorter names are also more concise and intuitive.

Backward compatibility is preserved by continuing to parse the old drift:migrate and drift:rollback markers while emitting a deprecation warning to STDERR. Only one warning is shown per file to avoid noise when both deprecated markers are present.

The new `drift:up` and `drift:down` markers align with standard
migration terminology used by most database migration tools. The
shorter names are also more concise and intuitive.

Backward compatibility is preserved by continuing to parse the old
`drift:migrate` and `drift:rollback` markers while emitting a
deprecation warning to STDERR. Only one warning is shown per file
to avoid noise when both deprecated markers are present.

Updated all fixture files and documentation to use the new markers.
@luislavena luislavena merged commit 16b458f into main Jan 22, 2026
3 checks passed
@luislavena luislavena deleted the use-up-down-instead branch January 22, 2026 10:16
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