evscott / aedibus-api-old

To see this projects Kanban board install the Zenhub Chrome/Firefox extension.
0 stars 0 forks source link

Improve database migrations #67

Open evscott opened 4 years ago

evscott commented 4 years ago

Right now, the app uses two different libraries to migrate the database and to use as a database client. github.com/golang-migrate is used for migrations, and github.com/go-pg/pg/v9 for a client.

The API should only use one library for both migrations and as a client. Or, at the very least, the API should only make one database connection instead of two.

The improved migration feature should also provide the following functionality: