[BUG]: SQLite - drizzle-kit pull fails in my project since kit >= 0.26.0 and orm >= 0.35.0 #3817
Open
1 task done
Labels
bug
Something isn't working
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.30.1
What version of
drizzle-kit
are you using?0.38.2
Other packages
better-sqlite3@11.7.0
Describe the Bug
I have uploaded a repository to make it easier to reproduce and test the issue: https://github.com/rainst/drizzle-bug
what follows is the README of that repo:
drizzle-orm@~0.34.0
anddrizzle-kit@~0.25.0
are the most recent versions that still work fine on my database, when I runorm-kit pull
.If I update the packages to the next available minor versions
drizzle-orm@~0.35.0
anddrizzle-kit@~0.26.0
or the latest currently available I end up with this error:SCRIPTS FOR REPRODUCING AND TESTING
Run
yarn pull
to reproduce the error. ❌Run
yarn downgrade
to install an older versions of the packages and thenyarn pull
, the database will be introspected without errors. ✅Run
yarn downgrade:old
to install an older version of the packages that still use the old config based on driver rather than dialect and runyarn pull:old
to introspect successfully. ✅Run
yarn check-latest
to install the latest versions of drizzle orm and kit and run a pull to see if the bug has been fixed in the latest version available. 🔍WHAT I AM TRYING TO DO
The database contains raw data extracted from Microsoft Flight Simulator 2020 (airports, navigation data and so on..), that I use to run this website: https://msfs.breincorporation.com/.
Currently I manually extract the Airport table and shave off the colums I don't need, I was trying to automate this step with the help of drizzle.
The text was updated successfully, but these errors were encountered: