Tyler Clendenin
10/28/2021, 2:16 PM@default("0001-01-01T00:00:00Z")
seems to work, but it also seems to always try and change the default in the database with any new migration ALTER COLUMN "dateAt" SET DEFAULT '0001-01-01 00:00:00 +00:00'
. @default("0001-01-01 00:00:00 +00:00")
gives this error
Error parsing attribute "@default": Expected a datetime value, but failed while parsing ""0001-01-01 00:00:00 +00:00"": input contains invalid characters.
if i keep creating migrations it keeps trying to alter the columns defaultJoël
Tyler Clendenin
10/28/2021, 3:01 PM