migration state is recalled from ORM_MIGRATIONS
giving up on sqlite support for timebeing. Some messy code in index.js but this is an internal, functional release