preparing DB for deploy