Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CLI output when using db push with MongoDB #13464

Closed
floelhoeffel opened this issue May 24, 2022 · 1 comment 路 Fixed by #13700
Closed

Improve CLI output when using db push with MongoDB #13464

floelhoeffel opened this issue May 24, 2022 · 1 comment 路 Fixed by #13700
Assignees
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. tech/typescript Issue for tech TypeScript. topic: mongodb topic: prisma db push CLI: prisma db push
Milestone

Comments

@floelhoeffel
Copy link

Problem

Migrations are not support with MongoDB. What we support is pushing of constraints and indexes via db push.

If db push is executed, it prompts the following confusing message:

馃殌  Your database is now in sync with your schema. Done in 889ms

Which is actually not true.

Suggestion

Change message to reflect what is in sync.

@floelhoeffel floelhoeffel added team/schema Issue for team Schema. topic: mongodb process/candidate bug/2-confirmed Bug has been reproduced and confirmed. labels May 24, 2022
@janpio janpio added kind/improvement An improvement to existing feature and code. topic: prisma db push CLI: prisma db push and removed bug/2-confirmed Bug has been reproduced and confirmed. labels May 24, 2022
@janpio janpio added tech/typescript Issue for tech TypeScript. and removed process/candidate labels Jun 7, 2022
@janpio
Copy link
Member

janpio commented Jun 7, 2022

Suggestion Indexes were created in your database. Done in ...

@jkomyno jkomyno self-assigned this Jun 8, 2022
@Jolg42 Jolg42 added this to the 4.0.x milestone Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. tech/typescript Issue for tech TypeScript. topic: mongodb topic: prisma db push CLI: prisma db push
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants