You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error processing migrations/20200210151102_post_kilograms_nullable.up.fizz: could not fizz the migration migrations/20200210151102_post_kilograms_nullable.up.fizz: line 0: "null": unknown identifier
If I leave off the "default": null the previous default remains, which is not what I want. I also tried "default": "null" but that didn't work either.
The text was updated successfully, but these errors were encountered:
briskt
changed the title
change_column doesn't support {"null": true}
change_column doesn't support {"default": null}
Feb 10, 2020
I need to change a column in a PostgresQL database from
kilograms numeric(13,4) DEFAULT '0'::numeric NOT NULL
TOkilograms numeric(13,4)
To do this, I created a fizz migration containing
but it fails with
If I leave off the
"default": null
the previous default remains, which is not what I want. I also tried"default": "null"
but that didn't work either.The text was updated successfully, but these errors were encountered: