-
Notifications
You must be signed in to change notification settings - Fork 86
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prisma migration issue #2
Comments
Hi @venkats-cr. Can you tell me more information about the error? Is this your first migration or have you run the project several times successfully before this? Also, did the error happen after your custom migration? |
This is my first migration , got this error
Error: P3018
A migration failed to apply. New migrations cannot be applied before the
error is recovered from. Read more about how to resolve migration issues in
a production database: https://pris.ly/d/migrate-resolve
Migration name: 20240415100000_added_category_id_field_in_product_table
Database error code: 1146
Database error: Table 'newEcommerce.product' doesn't exist
Please check the query number 1 from the migration file.
…On Fri, 19 Jul 2024 at 15:05, Aleksandar Kuzmanović < ***@***.***> wrote:
Hi @venkats-cr <https://github.com/venkats-cr>. Can you tell me more
information about the error? Is this your first migration or have you run
the project several times successfully before this? Also, did the error
happen after your custom migration?
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5N2B4JAA3ENWLIFXFXBH3TZNDMWLAVCNFSM6AAAAABLEAXMTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZYG43DENZVGI>
.
You are receiving this because you were mentioned.Message ID:
<Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS/issues/2/2238762752
@github.com>
--
*Regards*
*Venkatkumar S*
*Phone: +91 9840077575*
*www.cloudripples.io <http://www.cloudripples.io/> *
|
I think you should watch the tutorial on running the project again and try to repeat the steps. The tutorial link is in the README. If you didn't see it, here is the link: https://www.youtube.com/watch?v=Ry0aOMws0gE |
@venkats-cr When you find a solution to the problem, please feel free to post it here. |
Will do, thanks!
…On Fri, 19 Jul, 2024, 21:24 Aleksandar Kuzmanović, ***@***.***> wrote:
@venkats-cr <https://github.com/venkats-cr> When you find a solution to
the problem, please feel free to post it here.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5N2B4KWVABXSWQQLEM6YQ3ZNEZEBAVCNFSM6AAAAABLEAXMTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGUYDGMRRGM>
.
You are receiving this because you were mentioned.Message ID:
<Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS/issues/2/2239503213
@github.com>
|
Ok will check it out
…On Fri, 19 Jul, 2024, 21:23 Aleksandar Kuzmanović, ***@***.***> wrote:
I think you should watch the tutorial on running the project again and try
to repeat the steps. The tutorial link is in the README. If you didn't see
it, here is the link: https://www.youtube.com/watch?v=Ry0aOMws0gE
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5N2B4PO5O3K3U5PPVDWNDLZNEY7LAVCNFSM6AAAAABLEAXMTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGUYDCMZQGY>
.
You are receiving this because you were mentioned.Message ID:
<Kuzma02/Electronics-eCommerce-Shop-With-Admin-Dashboard-NextJS-NodeJS/issues/2/2239501306
@github.com>
|
Unable to migrate the issue with prisma
Error: P3018
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Migration name: 20240415100000_added_category_id_field_in_product_table
Database error code: 1146
Database error:
Table 'newEcommerce.product' doesn't exist
Please check the query number 1 from the migration file.
The text was updated successfully, but these errors were encountered: