Skip to content

Conversation

@jtmkrueger
Copy link
Collaborator

@jtmkrueger jtmkrueger commented Jan 30, 2026

When doing the initial setup of the application, I ran into a couple issue. This PR addresses both.

  • When the application is starting up, it can hit a race condition where the DB isn't ready yet and it crashes out.
  • Create a db-drop cli command. Instead of running raw sql to drop the schema, you can just pass it as an api-umbrella command for easier development.

Also good chance I just missed something obvious and these changes aren't needed!

@jtmkrueger jtmkrueger changed the title wait for pg to be ready before running db setup; create schemas if they dont exist wait for pg to be ready before running db setup; add a db-drop module Jan 30, 2026
@jtmkrueger
Copy link
Collaborator Author

I had some mistakes in my initial setup that render this PR obsolete. Closing as not needed.

@jtmkrueger jtmkrueger closed this Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants