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
Was able to temporarily fix it by monkey patching the bin.cjs file referenced in the error, simply by adding optional chaining like so
Image
You guys should probably consider adding "noUncheckedIndexedAccess": true, to Drizzle-kit tsconfig.json,
otherwise these kinds of errors will always keep popping up
Expected behavior
dotenv drizzle-kit push
drizzle-kit: v0.21.2
drizzle-orm: v0.30.10
Warning You are about to execute current statements:
ALTER TABLE posts DROP COLUMN image;
[✓] Changes applied
Environment & setup
No response
The text was updated successfully, but these errors were encountered:
What version of
drizzle-orm
are you using?^0.30.10
What version of
drizzle-kit
are you using?^0.21.2
Describe the Bug
There's an issue when i try to run npx drizzle-kit push, keep getting
base on this discord post: https://discord.com/channels/1043890932593987624/1151920448049782915/1240052746770710578
Expected behavior
drizzle-kit: v0.21.2
drizzle-orm: v0.30.10
Warning You are about to execute current statements:
ALTER TABLE
posts
DROP COLUMNimage
;[✓] Changes applied
Environment & setup
No response
The text was updated successfully, but these errors were encountered: