Fix migrations

This should resolve this pull request : https://github.com/fluxbb/core/pull/25