Change structure of db and project