Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite column DEFAULTs using the SQL transformer #332

Merged
merged 2 commits into from
Mar 28, 2024

Commits on Mar 28, 2024

  1. Transform column defaults in migrations

    When generating SQL for column defaults in migrations, we now apply the
    SQL transformer to the default value. This allows users to transform
    default values in migrations.
    
    This applies to columns generated by `OpCreateTable` and `OpAddColumn`.
    andrew-farries committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    8d2e69f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cec0187 View commit details
    Browse the repository at this point in the history