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

Entiad Reactions - CommentReactions - PostReactions #6

Open
KevinKeyssx opened this issue Feb 20, 2025 · 0 comments
Open

Entiad Reactions - CommentReactions - PostReactions #6

KevinKeyssx opened this issue Feb 20, 2025 · 0 comments

Comments

@KevinKeyssx
Copy link
Collaborator

KevinKeyssx commented Feb 20, 2025

Reaction

  • id: uuid,
  • reaction: enum[ happy, love, angry, sad, like, paw ] nullable: false,
  • is_especial : boolean default false,
  • created_at: date default: CURRENT_TIMESTAMP,
  • updated_at: date,

CommentReactions

  • like_id : uuid,
  • reaction_id: Reaction, --Referencia con Reaction,
  • user_id: number nullable: false, -- Referencia al usuario que dio el like
  • like_id:
  • comment_id: number nullable: true, -- Referencia al comentario que recibió el like (puede ser NULL)
  • response_id: number nullable: true, -- Referencia a la respuesta que recibió el like (puede ser NULL)
  • created_at: datetime - nullable: false default: CURRENT_TIMESTAMP , -- Fecha de creación

PostReactions

id: uuid,
post_id: Post // Relaciona con la entidad Post,
pet_id: Pet // Relacionado con la entidad Pet,
reaction: enum[ happy, love, hungry, sad, like ] nullable: false,
created_at: date default: CURRENT_TIMESTAMP,
updated_at: date,

@KevinKeyssx KevinKeyssx moved this to Todo Back in PetSocialNetwork Feb 20, 2025
@KevinKeyssx KevinKeyssx changed the title Entiad Likes - CommentLikes - PostLikes Entiad Reactions - CommentReactions - PostReactions Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo Back
Development

No branches or pull requests

1 participant