Comments (3)
Upon some further investigation on a fresh local DB, it all seems to work, just the production turso DB I'm connecting to does not want to get fixed by push.
from drizzle-orm.
Also I was getting a warning about the table needing to be dropped because it's not null and missing a default value when I tried adding a new column although the column definition was orderIndex: integer('orderIndex').default(0).notNull()
from drizzle-orm.
Update: I've found a workaround. With strict
and verbose
flags enabled, I was able to see the SQL that the drizzle-kit is trying to apply and then manually apply relevant queries myself directly.
from drizzle-orm.
Related Issues (20)
- [BUG]: Problem on MacBook - This statement does not return data. Use run() instead HOT 5
- [BUG]: `drizzle-kit push` fails after first run with composite PKs
- [BUG]: Stack overflow when trying to insert many values at once
- [DOCS]: link to mysql2 section goes to #mysql-2, but section has `id="mysql2"`
- [BUG]: relation "collections_id_seq" already exists HOT 1
- [BUG]:
- [BUG]: Using schemaFilter in Drizzle config results in unintended schema drop
- [FEATURE]: mysql2 wait_timeout in createConnection
- [BUG]: type obtained with $inferInsert is empty HOT 13
- [BUG]: PostgresError: relation "public.user" does not exist
- [BUG]: Syntax error in generated SQL with generatedAlwaysAs and notNull on MySQL
- [BUG]: error: no pg_hba.conf entry for host
- [FEATURE]: Drizzle Prisma integration with no restrictions (Solution proposal)
- [BUG]: OP SQLite timestamp integer column returns a string initially then a Date
- [BUG]: unexpected DROP SEQUENCE statements on `drizzle-kit push` HOT 1
- [BUG]: there is no unique or exclusion constraint matching the ON CONFLICT specification
- [FEATURE]: Allow sql magic in target in onConfilict
- [FEATURE]: daterange support for postgresql
- [FEATURE]: `node:sqlite` support
- [FEATURE]: Support for ordering/filtering on relations in drizzle `findMany` query method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drizzle-orm.