Skip to content
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

feat(prisma): Implement proper migrations #606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wlinator
Copy link
Member

@wlinator wlinator commented Oct 5, 2024

Description

This PR aims to implement proper Prisma migrations. It also fixes an issue in the Levels table to initiate a set of migrations. We should apply these with caution.

Summary by Sourcery

Implement proper Prisma migrations to set up the initial database schema and fix the primary key constraint in the Levels table.

New Features:

  • Introduce a set of Prisma migrations to establish the initial database schema, including tables for Guild, GuildConfig, Case, Snippet, Note, Reminder, AFKModel, Starboard, StarboardMessage, and Levels.

Bug Fixes:

  • Fix the primary key constraint in the Levels table by altering it to include both member_id and guild_id.

This comment was marked as duplicate.

sourcery-ai[bot]

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant