Skip to content

Feat: run database migrations on db initialization #158

@TheJolman

Description

@TheJolman

Currently we need to run make migrate-up after starting up the server with a fresh db. The go-migrate library provides a library that can run migrations automatically. This will essentially replace the commented out code in internal/api/server.go

Metadata

Metadata

Assignees

Labels

1 - INTERMEDIATEAssignee's preferably should be familiar with the codebase to take this issueapiRelating to the API only

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions