Entities files recreated after new database schema