first step to moving database to DI