Getting migrations and database tools working with modules.