Skip to content

chore (db): seeding script + seeding command in package.json#120

Open
JoJoB-A wants to merge 6 commits intomainfrom
drizzle-seed-data
Open

chore (db): seeding script + seeding command in package.json#120
JoJoB-A wants to merge 6 commits intomainfrom
drizzle-seed-data

Conversation

@JoJoB-A
Copy link

@JoJoB-A JoJoB-A commented Feb 1, 2026

No description provided.

@JoJoB-A JoJoB-A requested a review from liangricky7 as a code owner February 1, 2026 23:40
Copy link
Contributor

@liangricky7 liangricky7 left a comment

Choose a reason for hiding this comment

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

Good start!

Copy link
Contributor

Choose a reason for hiding this comment

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

Great start, just a few changes and additions to make.

  • Make sure to cleanup DB connections to avoid pooling; write const client = postgres(connectionString) and then db = drizzle(client) so we can then run client.end() to close connection
  • add some more comments that explain each step/block of code to make things much more readable for me/future readers, since right now it may take a bit to go over

Copy link
Contributor

Choose a reason for hiding this comment

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

Also! Go over the auto checks (the linter and the database thing) and make sure you properly rewrite your code accordingly.

@JoJoB-A JoJoB-A closed this Feb 4, 2026
@JoJoB-A JoJoB-A reopened this Feb 4, 2026
@JoJoB-A JoJoB-A closed this Feb 5, 2026
@JoJoB-A JoJoB-A reopened this Feb 8, 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.

2 participants