src-d / ghsync

GitHub API v3 > PostgreSQL
https://sourced.tech
GNU General Public License v3.0
9 stars 8 forks source link

Apply kallax migrations #20

Closed carlosms closed 5 years ago

carlosms commented 5 years ago

Fix #18.

Using bindata is not ideal at all, but it's the only thing supported by golang-migrate/migrate.

I left maxVersion as a constant, I don't think it's worth to handle it properly for now. If we add a new migration there is no risk to forget to update it, because sync will complain about it.