You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon cloning the repository, I followed the setup instructions and successfully started the application 🎉
Note that I manually created a PostgreSQL database as it seems that there is not handled by the application since I need to reference the database and its credentials in the .env file. This step should probably be added to the README file.
However, the tables have not been created/migrated despite migration.Migrate() being called in main.go:
On a side note, do you have experience using Docker for local development as this would avoid having to run a local PostgreSQL server?
The text was updated successfully, but these errors were encountered:
I should have mentioned in the README.md that the application doesn't create the database itself. I'll add that.
I don't understand the issue behind no tables being migrated. I've tested the code on two separate systems and both tables were migrated. I'll definitely look into the issue. Thanks for discovering this bug!.
I've experience using docker for local development. I initially wanted to create docker file for golang, postgres and next.js but couldn't find the time. But I'll add them by tomorrow, 22 January,
Golang and Postgres container are created and details are in this pull request. Codes are in the master branch. Please review the docker installation section in the README.md. Tables should be migrated now.
Upon cloning the repository, I followed the setup instructions and successfully started the application 🎉
Note that I manually created a PostgreSQL database as it seems that there is not handled by the application since I need to reference the database and its credentials in the
.env
file. This step should probably be added to the README file.However, the tables have not been created/migrated despite
migration.Migrate()
being called inmain.go
:On a side note, do you have experience using Docker for local development as this would avoid having to run a local PostgreSQL server?
The text was updated successfully, but these errors were encountered: