Fix database on projects