Skip to content
  • Andrew Hoglund's avatar
    008d9d16
    Run DROP DEFAULT for NULL value; Add text type checks · 008d9d16
    Andrew Hoglund authored
    This commit does two things.
    
    1. Reverts a recent change that was calling SET DEFAULT NULL
    when altering a table. This PR revert that back to instead call DROP
    DEFAULT in the case when the column is not nullable.
    2. Adds a check to ensure that only nonbinary data types are eligible
    for having the `collation` carry through when performing a change_column
    migration.
    008d9d16
    Run DROP DEFAULT for NULL value; Add text type checks
    Andrew Hoglund authored
    This commit does two things.
    
    1. Reverts a recent change that was calling SET DEFAULT NULL
    when altering a table. This PR revert that back to instead call DROP
    DEFAULT in the case when the column is not nullable.
    2. Adds a check to ensure that only nonbinary data types are eligible
    for having the `collation` carry through when performing a change_column
    migration.
Loading