Giter Site home page Giter Site logo

Comments (4)

fengkx avatar fengkx commented on May 30, 2024

would you like to try npx prisma migrate deploy to see whether it throw any error.
It may have something related to the shadow database created by prisma check out this link: https://www.prisma.io/docs/concepts/components/prisma-migrate/shadow-database#cloud-hosted-shadow-databases-must-be-created-manually

The supabase in this project is eject to docker folder. You may need to check whether supabase update its setup and cause this error. I would like to keep it ejected until supabase supoort workflow and RUM, zhparser extension.

from keeplink.

luquitared avatar luquitared commented on May 30, 2024

Here is my output after running
npx prisma migrate deploy

output:

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "localhost:5432"

5 migrations found in prisma/migrations
Error: P3009

migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
The `20210429025219_init` migration started at 2021-08-08 03:32:10.642253 UTC failed with the following logs:

(says there is logs printed below but nothing shows up)

from keeplink.

fengkx avatar fengkx commented on May 30, 2024

Maybe you should create a clean db before running it.

from keeplink.

fengkx avatar fengkx commented on May 30, 2024

You can try the following step:

  • create shadow database as the link I have posted (prisma docs)
  • use docker

supabase init may have changed its configuration, you should check it.

Supabase is missing some extensions use ejected supabase in docker folder.

from keeplink.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.