Setup database and ran migrations