I have an existing Vapor 3 application in production that has a fair bit of data stored in a PostgreSQL database. I'm currently in the process of upgrading from Vapor 3 to Vapor 4, and I note that the default
.datetime type in Vapor 4 migrations is creating columns with a type of
timestamp with time zone NOT NULL.
Vapor 3 used
timestamp without time zone.
I'd really prefer not to have to migrate all of the CRUD timestamps to a new format if it's not necessary to. Is there a way to specify the format of my
.datetime data in the migration/model?