Comments (3)
Good advice James!
Indeed, the guide says:
If migrations do use DDLX syntax or do affect the electrified part of your schema, then they must be applied via the proxy. If not, they will be rejected and an error will be raised.
[TODO] When finish this database code, I'll open source in this thread, and close the thread if necessary.
from drizzle-orm.
Are you applying the migration via the Electric migration proxy?
https://electric-sql.com/docs/usage/data-modelling/migrations#migrations-proxy
If not, the DDLX syntax will not be supported.
from drizzle-orm.
One immediate issue I hit was that enums are wrapped in DO..END blocks and they're not supported
from drizzle-orm.
Related Issues (20)
- [BUG]: Error on upsert with UNIQUE constraint in SQLite using onConflictDoUpdate
- [BUG]: Bun: TypeError: undefined is not an object (evaluating 'rawTable[InlineForeignKeys3].push')
- [BUG]: Package version conflict for Drizzle 0.30.10 HOT 3
- [FEATURE]: BATCH API in node-postgres
- [BUG]: Missing d1 as a valid input for driver HOT 1
- [BUG]:TypeError: Cannot read properties of undefined (reading 'parsers')
- [FEATURE]: Count & Spread
- Support nested orderBy
- [FEATURE]: Support for $type in js
- [BUG]: Error setting default enum field values
- [BUG]: Incorrect property typings when inserting values into new record
- [BUG]: Unique constraint is not added to the change. HOT 4
- [BUG]: New Drizzle kit 0.21.1 does not apply table relationship when you run drizzle-kit push HOT 2
- [FEATURE]: `from` clause on PgUpdateBuilder
- [BUG]: Migrations Quick Start is outdated in docs HOT 2
- [BUG]: Unexpected 2 table names in `from` statements HOT 1
- [BUG]:"drizzle-kit generate" doesn't generate a migration file when a column is added. HOT 3
- [BUG]: can't insert to relative table in transaction
- [BUG]: Push only works on first push (drizzle with mysql)
- [BUG]: Migrate does not throw error
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.