Altering existing table with Timestamp column to Timestamp with Timezone in Postgres using Drizzle
I have an existing table with columns such as
created_at
with data type of timestamp
. I want to update the column, so that every single timestamp
in my database will be timestamp with timezone
. I tried modifying db schema from JS by changing
to
When trying to push the changes, drizzle-kit warned me that my data will be lost.
What strategy that I can use to achieve this?0 Replies