Comments (1)
Running
prisma migrate diff --from-url "DB_URL" --to-migrations ./prisma/migrations/
with multiple migrations present,multiSchema
flag enabled and 2 models referencing each other in different schemas.
You are not telling migrate diff
to actually use your Prisma Schema at all, only the connection string and the migration folder. If you use --from-schema-datasource
(instead of --from-url
) and provide a path to your Prisma Schema which contains the schemas
list, it should work as expected.
from prisma.
Related Issues (20)
- createManyAndReturn include do not work with relations defined on other table HOT 1
- [SQLite] Bug in `prismaSchemaFolder`: Incorrect Database File Generation and Missing Table Error
- Selection with `_count: undefined` not working properly HOT 3
- No more enums generated HOT 1
- Create only is applying the migration
- Generic Types for Abstraction HOT 1
- Multi scheme for multi tenant architecture HOT 2
- API Key validations started failing over the last 24h HOT 1
- One model to multiple database schemas for multi-tenancy HOT 1
- @prisma/client is not in the npm registry, or you have no permission to fetch it.
- ConnectorError: 42P05 occurs frequently HOT 9
- Prisma relation query and connect behave strangely with composite relations
- prisma difficulty with accelerate HOT 1
- findMany returns integer instead of floats HOT 2
- Multiple concurrent raw queries lead to timeouts HOT 2
- Raw Query with $executeRaw Fails When Using Variable in SQL CREATE SEQUENCE
- Better error serialization (stack traces)
- groupBy include/select by aggregate field
- Raw Query Throws an Error in Release 5.17.0 HOT 1
- Error thrown using PrismaClient in Cloudflare Pages project 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 prisma.