Drupal 8:entity.last_installed_schema.repository和entity.storage_schema.sql不同步

时间:2018-11-07 08:48:55

标签: drupal-8

由于我对Drupal的经验不足,我犯了一个错误,即在不使用实体定义更新管理器的情况下操纵自定义实体的数据库结构。我只是用普通的SQL来更改数据库。现在,已保存的entity.last_installed_schema.repository和entity.storage_schema.sql显然不同步。

有什么方法可以将当前保存的entity.last_installed_schema.repository和entity.storage_schema.sql与实体类中的当前基础字段定义进行同步?

就像使用实体定义更新管理器一样,只是没有实际修改数据库结构?还是类似的东西?

0 个答案:

没有答案