Skip to content

New FavouriteListing and UserRecord table synchronised through afterCreate hooks#77

Merged
lincoln0623 merged 2 commits intomainfrom
lincoln
Jul 25, 2024
Merged

New FavouriteListing and UserRecord table synchronised through afterCreate hooks#77
lincoln0623 merged 2 commits intomainfrom
lincoln

Conversation

@lincoln0623
Copy link
Copy Markdown
Contributor

Overview of changes:

  • New UserRecord table that will have a unique recordID with references to individual models. "Parent" table as master updates/deletes in Host, Guest and Admin tables will be cascaded down
  • New FavouriteListing model associated with UserRecord
  • New afterCreate hooks in Host, Guest, and Admin tables to keep UserRecord up to date

Sensitive changes:

  • Everything.

Prakhar896 and others added 2 commits July 23, 2024 22:36
…nd onUpdate hooked and auto-created hooked up with afterCreate hook callback in respective user models

will help store listings favourited by user in favouriteListings table
@lincoln0623 lincoln0623 added the enhancement New feature or request label Jul 25, 2024
@lincoln0623 lincoln0623 merged commit 420c372 into main Jul 25, 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