Reset project, add foreign keys to database.