Skip to content

Add a script for creating dummy DB records#63

Merged
MMK21Hub merged 4 commits intohackclub:mainfrom
MMK21Hub:dummy-data-script
Oct 20, 2025
Merged

Add a script for creating dummy DB records#63
MMK21Hub merged 4 commits intohackclub:mainfrom
MMK21Hub:dummy-data-script

Conversation

@MMK21Hub
Copy link
Copy Markdown
Collaborator

I was doing some performance testing so I needed a script to add a bunch of records to the database. This PR creates one. I also documented it in the README.

I've included it in the repo because I reckon it might be useful for other contributors.

Comment thread README.md
@MMK21Hub MMK21Hub enabled auto-merge October 20, 2025 22:50
@MMK21Hub MMK21Hub disabled auto-merge October 20, 2025 23:04
@MMK21Hub MMK21Hub marked this pull request as draft October 20, 2025 23:05
@MMK21Hub MMK21Hub marked this pull request as ready for review October 20, 2025 23:05
@MMK21Hub MMK21Hub closed this Oct 20, 2025
@MMK21Hub MMK21Hub reopened this Oct 20, 2025
@MMK21Hub MMK21Hub added this pull request to the merge queue Oct 20, 2025
Merged via the queue into hackclub:main with commit e3daf55 Oct 20, 2025
5 checks passed
@MMK21Hub MMK21Hub deleted the dummy-data-script branch October 20, 2025 23:07
MMK21Hub added a commit to MMK21Hub/nephthys that referenced this pull request Oct 21, 2025
* Add a script for creating dummy DB records

* Note that add_dummy_data takes a while to run

* Change the dummy data range to 2 weeks

* Ensure the dummy data script sets all the timestamps

Previously it wouldn't set assignedAt, closedAt, etc, despite the ticket being marked as closed
@transcental transcental mentioned this pull request Jan 22, 2026
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.

1 participant