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

feat: seeds for pivot tables #308

Merged
merged 5 commits into from
Feb 7, 2025
Merged

feat: seeds for pivot tables #308

merged 5 commits into from
Feb 7, 2025

Conversation

DavidDyberg
Copy link
Contributor

@DavidDyberg DavidDyberg commented Feb 7, 2025

This PR includes seeds for populating the pivot tables list_user and list_movie.

  • Seeded list_user table: Each user is randomly attached to 1-5 lists.
  • Seeded list_movie table: Each list is randomly assigned 5-10 movies.

Example images from adminer

list_user table:

Skärmavbild 2025-02-07 kl  10 27 18

list_movie table:

Skärmavbild 2025-02-07 kl  10 27 02

closes #307

Copy link
Contributor

@beforeAW beforeAW left a comment

Choose a reason for hiding this comment

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

Looks good

@ell-ska ell-ska changed the title Create seeds for pivot tables feat: seeds for pivot tables Feb 7, 2025
@ell-ska ell-ska temporarily deployed to create-seeds-for-pivot-tables - u04-imdb-clone PR #308 February 7, 2025 12:02 — with Render Destroyed
@ell-ska ell-ska temporarily deployed to create-seeds-for-pivot-tables - u04-imdb-clone PR #308 February 7, 2025 12:03 — with Render Destroyed
@ell-ska ell-ska merged commit c53bb3c into main Feb 7, 2025
1 check passed
@ell-ska ell-ska deleted the create-seeds-for-pivot-tables branch February 7, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create seeds for pivot tables list_user and list_move
3 participants