Drizzle TeamDT
Drizzle Team11mo ago
nu

Changing postgres timestamp mode (string -> date) isn't reflected in migrations

Hi.
I have my migrations generated and applied from my initial schema.
Now in the schema I changed to mode: 'date' in multiple timestamp columns (ex: time: timestamp({ withTimezone: true, mode: 'date' }).notNull(),). This was mode: 'string' by default previously.

Now when I run the
drizzle-kit generate
command, no migrations are generated. I made this change to multiple columns.
Is this a bug or is it expected behaviour?
Was this page helpful?