You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doing migration with Drizzle ORM delete/truncated all data from our "skills" table:
ALTERTABLE"skills" ALTER COLUMN "skill_desc"SET DATA TYPE jsonb;
ALTERTABLE"skills" ALTER COLUMN "skill_desc"SET DEFAULT '[]'::jsonb;
ALTERTABLE"skills" ALTER COLUMN "skill_desc"SETNOT NULL;
the initial error was that I could not convert skill_desc from text to jsonb automatically
not sure how it could ever result in truncating the whole table regardless....
it's happened more than once, so I need to figure out how to mitigate this :(
those statements were the ones printed and I assume they ran in that order....
The text was updated successfully, but these errors were encountered:
Report hasn't been filed before.
What version of
drizzle-orm
are you using?drizzle-orm: v0.39.3
What version of
drizzle-kit
are you using?drizzle-kit: v0.30.4 drizzle-orm: v0.39.3
Other packages
drizzle-kit: v0.30.4 drizzle-orm: v0.39.3
Describe the Bug
https://gist.github.com/ORESoftware/d74b1e6ffd7f02fd658d28c5597a3367
doing migration with Drizzle ORM delete/truncated all data from our "skills" table:
the initial error was that I could not convert skill_desc from text to jsonb automatically
not sure how it could ever result in truncating the whole table regardless....
it's happened more than once, so I need to figure out how to mitigate this :(
those statements were the ones printed and I assume they ran in that order....
The text was updated successfully, but these errors were encountered: