Comments (1)
Ok, I think its mu fault.
Configuring the other side of the relation everything works.
export const profileRelarions = relations(profileInfo, ({ one }) => ({
user: one(users, {
fields: [profileInfo.userId],
references: [users.id],
}),
}));
from drizzle-orm.
Related Issues (20)
- [FEATURE]: drizzle-kit migration missing relevation info on unsupported SQLite feature
- [FEATURE]: Multiple union / unionAll
- [FEATURE]: Eslint flat config
- [BUG]: Timestamp with null default, workaround quoted does not cater for generated SQL and errors in live prod mysql of my hosting provider HOT 2
- [BUG]: using any Drizzle-zod function in Workerd's (CFW runtime) would crash HOT 1
- [Feature Request]: drizzle-zod output to static files HOT 2
- [BUG]: Partial Insert returning expected 0 arguments
- [BUG]: issue while building the project HOT 1
- [FEATURE]: explain analyse
- [BUG]: Relations inconsistent to what defined in schema and what is generated.
- [BUG]: Dark Themes Stopped Working HOT 3
- [BUG]:
- [BUG]: query builder does not get any tables when upgrading to anything higher 0.29 HOT 1
- [BUG]: `drizzle-kit generate` doesn't pick up changes in schema 🤔 HOT 2
- [BUG]: drizzle-kit generate for unique index produces incorrect migration HOT 1
- [BUG]: Index migration query is generated with parameter HOT 1
- [BUG]: BLOB json values are not being stringified before insert. HOT 2
- [BUG]: Drizzle migration does not rollback if it fails
- [BUG]: Execute Alter Sequence
- [FEATURE]: Subquery select column HOT 1
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.