Reintroduced db migrations