Skip to content

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

Merged
nuuxcode merged 2 commits intomainfrom
backend
Mar 23, 2024
Merged

chore(database) & refactor(schema): Delete redundant files and refine Prisma schema#4
nuuxcode merged 2 commits intomainfrom
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
@nuuxcode nuuxcode added the enhancement New feature or request label Mar 23, 2024
@nuuxcode nuuxcode requested review from ayequill and viictoo March 23, 2024 18:02
@nuuxcode nuuxcode self-assigned this Mar 23, 2024
Copy link
Copy Markdown
Collaborator

@viictoo viictoo left a comment

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 main Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants