Added migrations support. Default database changed to test, but would need to be configured properly.