Skip to content

[TODO]: .env.default #1511

@Tobbe

Description

@Tobbe

SQLite placeholder and missing DIRECT_DATABASE_URL hint

The pg templates have a prisma.config.cjs that reads DIRECT_DATABASE_URL and db.ts reads DATABASE_URL. The current default DATABASE_URL=file:./db/dev.db is a SQLite path that will cause PrismaPg to error at startup if used as-is, and DIRECT_DATABASE_URL (now required by prisma.config.cjs) has no documentation or commented-out placeholder here. Adding a comment clarifying that real postgres URLs are required, plus a commented-out example for DIRECT_DATABASE_URL, would make the setup expectations clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions