Skip to content

Improve DB handling in preview #7

@vdvman1

Description

@vdvman1

To avoid things potentially breaking when previewing PRs and branches, it would be good to include a prefix in the tables.

Currently Prisma is used for the DB ORM, however Prisma doesn't really support using different DB prefixes for different environments, due to how it handles migrations.

As such, the ORM should be switched to Drizzle ASAP and this prefixing setup, before any features that require the database are implemented

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