Skip to content

chore(database) & refactor(schema): Delete redundant files and refine Prisma schema - #4

Merged
nuuxcode merged 2 commits into
mainfrom
backend
Mar 23, 2024
Merged

chore(database) & refactor(schema): Delete redundant files and refine Prisma schema#4
nuuxcode merged 2 commits into
mainfrom
backend

Conversation

@nuuxcode

Copy link
Copy Markdown
Owner
  • Renamed 'ownerId' to 'ownerUserId' in Forum model for clarity
  • Added 'slug' field to Forum model
  • Changed 'isHidden' to 'isVisible' in Post and Comment models for better readability
  • Refactored Attachment model to separate PostAttachment and CommentAttachment
  • Removed unnecessary whitespace and comments
  • Deletion of redundant database files and unused schema copy.
  • Deleted dev.db.
  • Deleted migration.sql.
  • Deleted migration_lock.toml.
  • Deleted schema copy.prisma.

… and naming
- Renamed 'ownerId' to 'ownerUserId' in Forum model for clarity
- Added 'slug' field to Forum model
- Changed 'isHidden' to 'isVisible' in Post and Comment models for better readability
- Refactored Attachment model to separate PostAttachment and CommentAttachment
- Removed unnecessary whitespace and comments
@nuuxcodenuuxcode added the enhancement New feature or request label Mar 23, 2024
@nuuxcodenuuxcode self-assigned this Mar 23, 2024

@viictooviictoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@nuuxcode
nuuxcode merged commit 2c57b1c into mainMar 23, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nuuxcode@viictoo