nemesiscodex / darti-backend

Darti project sensor information backend
http://backend-darti.apps.ca-central-1.starter.openshift-online.com/
MIT License
3 stars 0 forks source link

DB migration without psycopg2 #1

Open nemesiscodex opened 4 years ago

nemesiscodex commented 4 years ago

The app uses asyncpg to connect to postgresql, but there is no backend for asyncpg in yoyo-migrations, so I had to add an extra dependency to psycopg2 just for this.

It will be nice to have a backend for asyncpg or another migration tool that supports it, and remove the dependency to psycopg2.

nemesiscodex commented 4 years ago

Here is the open issue in yoyo-migrations repository https://bitbucket.org/ollyc/yoyo/issues/40/asyncpg-backend