Comments (9)
hey please don't close this, this is a huge problem.
from drizzle-orm.
I am experiencing the same error.
from drizzle-orm.
Same error, please reopen!
from drizzle-orm.
I am having the same issue:
drizzle-kit 0.24.2
drizzle-orm 0.33.0
from drizzle-orm.
Same problem!
from drizzle-orm.
This should be fixed in [email protected]
. If the issue persists, feel free to reopen it!
from drizzle-orm.
Hi, @AndriiSherman
When I executed pnpm db:push, it prompted me:
TypeError: Cannot read properties of undefined (reading 'primaryKey')
But in fact, I just deleted a field. I deleted the embedding
field.
export const products = sqliteTable('products', {
id: text('id')
.$default(() => createId())
.primaryKey(),
...
embedding: blob('embedding', { mode: 'buffer' }),
...
})
drizzle-kit -> 0.24.2
drizzle-orm -> 0.33.0
from drizzle-orm.
Same error!
from drizzle-orm.
Hi, @AndriiSherman
When I executed pnpm db:push, it prompted me:
TypeError: Cannot read properties of undefined (reading 'primaryKey')But in fact, I just deleted a field. I deleted the
embedding
field.export const products = sqliteTable('products', { id: text('id') .$default(() => createId()) .primaryKey(), ... embedding: blob('embedding', { mode: 'buffer' }), ... })drizzle-kit -> 0.24.2 drizzle-orm -> 0.33.0
Hi, @evanlong0803
I removed the column inside my SQLite using SQLiteStudio. Then I pushed it again and it worked. I mean it's not ideal but yeah.
from drizzle-orm.
Related Issues (20)
- [BUG]: [PG] functions in index predicate must be marked IMMUTABLE HOT 1
- [BUG]: isNotNull does not impact type of returned column HOT 1
- [BUG]:drizzle-zod doesn't accept custom id value HOT 2
- [BUG]: findFirst and findMany queries using the 'with' statement can't parse the models if the related table has a geomtery column
- [FEATURE]: Timescale extension support
- [FEATURE]: Add support nx plugin
- [BUG]: Introspection fails sonb_build_array(" is not valid JSON.
- [BUG]: Obscure Typescript errors during dynamic relational query formation.
- [BUG]: "Column cannot be cast automatically" - Changing column type on the go is broken HOT 1
- [BUG]:sqlite migration table using pg SQL syntax
- [BUG]: MySQL $returningId does not necessarily use primary key field at runtime HOT 4
- [FEATURE]: Indexes with Included Columns (PG)
- [BUG]: Migrate text field to uuid field HOT 2
- [FEATURE]: indexes on materialized views
- [BUG]: Default values are not being considered as KNOWN PROPERTY of the Object literal HOT 3
- [BUG]: drizzle-kysely requires inserted JSONB columns to be stringified since 0.33.0
- [BUG]: Property 'batch' does not exist on type 'NeonDatabase'
- [BUG]: drizzle-kit push throws error: UnsupportedResultException: The result contains the unsupported data type regclass. HOT 2
- [FEATURE]: Optimize default column values in bulk inserts HOT 1
- Drizzle studio inside showing duplicate table
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.