This doesn't have a great use case yet, as it's impossible to set a model's property to nil and not have that nil forwarded to the DB (which overrides the default). But this can be further looked into in Fluent itself. Take a look at the tests added here to see a workaround.
DEFAULT ...
support to PostgreSQL columnThis doesn't have a great use case yet, as it's impossible to set a model's property to
nil
and not have thatnil
forwarded to the DB (which overrides the default). But this can be further looked into in Fluent itself. Take a look at the tests added here to see a workaround.