Skip to content

Following the Read Me Quick Start fails #86

Description

@Smithx10

Received the following error while trying to quick start:
Error: P1014: The underlying table for model _prisma_migrations does not exist.

❯ cat .env | grep -v '^#'
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/assettracker?schema=public
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=assettracker

DB_SCHEMA=public

ENCRYPTION_KEY=89ee0246b1c21c2834ee300790711a3a5e56d6e8ad07e990ded3eff9c146b836

BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=OwtsaR3AJGHXg5GxUxCmllo8Qub8Mm0Ye53tLC+5Ltg=

❯ npx prisma migrate deploy
Loaded Prisma config from prisma.config.ts.

Prisma schema loaded from prisma/schema.prisma.
Datasource "db": PostgreSQL database "assettracker", schemas "public" at "localhost:5432"

26 migrations found in prisma/migrations

Applying migration `00000000000000_initial_baseline`
Error: P1014

The underlying table for model `_prisma_migrations` does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions