Skip to content

Comments

Zmiana nazewnictwa kolumn#45

Open
Kajta134 wants to merge 2 commits intomainfrom
feat/zmiana-nazewnictwa-kolumn
Open

Zmiana nazewnictwa kolumn#45
Kajta134 wants to merge 2 commits intomainfrom
feat/zmiana-nazewnictwa-kolumn

Conversation

@Kajta134
Copy link
Contributor

No description provided.

@Kajta134 Kajta134 self-assigned this Feb 16, 2026
Copilot AI review requested due to automatic review settings February 16, 2026 14:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request performs a comprehensive renaming of three database models in the Prisma schema to better reflect their purpose. The changes rename Email to EmailTemplate, ParticipantEmail to ParticipantEmailStatus, and ParticipantForm to ParticipantFormLog. The new names more accurately describe the data these models represent: templates for emails rather than actual emails, status tracking for participant emails, and logs of participant form interactions.

Changes:

  • Renamed Email model to EmailTemplate and its table from Emails to EmailTemplates
  • Renamed ParticipantEmail model to ParticipantEmailStatus and its table from ParticipantsEmails to ParticipantsEmailStatuses
  • Renamed ParticipantForm model to ParticipantFormLog and its table from ParticipantsForms to ParticipantsFormLogs

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
prisma/schema.prisma Updates model definitions and all relation references across Event, Form, and Participant models to use the new model names
prisma/migrations/20260216140617_changing_column_names/migration.sql Database migration that drops old tables and creates new tables with updated names and recreates all foreign key constraints

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Kajta134 Kajta134 force-pushed the feat/zmiana-nazewnictwa-kolumn branch from 19b1395 to 398bca1 Compare February 16, 2026 15:16
@Kajta134 Kajta134 requested a review from loudsheep February 16, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants