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
{{ message }}
This repository was archived by the owner on Apr 21, 2024. It is now read-only.
As of now, when a local instance of this project is run, it assumes that your database has been set with the right schema.
The migration is currently done in Project-Hyperlink. However, I do not want to re-write this exact code in Go. Rather, if possible, it will be better to integrate an optional argument migrate when running go run cmd/main.go which will execute this piece of code and migrate the given PostgreSQL database to our set schema.
This will make it easier to run and debug a local instance of Postgres which as of now is not possible automatically.
Optionally, the implementation of this in Project-Hyperlink can be removed entirely and fetched from a hosted instance of this repository instead. This will be better as otherwise the schemas will need to be updated in both repositories for no good reason.
The text was updated successfully, but these errors were encountered:
As of now, when a local instance of this project is run, it assumes that your database has been set with the right schema.
The migration is currently done in Project-Hyperlink. However, I do not want to re-write this exact code in Go. Rather, if possible, it will be better to integrate an optional argument
migrate
when runninggo run cmd/main.go
which will execute this piece of code and migrate the given PostgreSQL database to our set schema.This will make it easier to run and debug a local instance of Postgres which as of now is not possible automatically.
Optionally, the implementation of this in Project-Hyperlink can be removed entirely and fetched from a hosted instance of this repository instead. This will be better as otherwise the schemas will need to be updated in both repositories for no good reason.
The text was updated successfully, but these errors were encountered: