Open mariusa opened 2 years ago
PS: the default value is already set in db. It would make sense to leave out that JSONB column on insert, if not specifically set in .create()
. Changing default column values in db shouldn't require updating models.
Just tested deleting defaultValue
and everything works great. The best solution for this issue would be #592
In Postgres, create a table with json default value
Generated model is
causing node error
"version": "0.8.8"
Thanks