由于以下问题,我手动从数据库中删除了表格。我有11个域名。当我重新启动Grails应用程序时,数据库中只创建了5个表。 如何强制创建表?
Hibernate: drop table if exists app
| Error 2015-01-29 20:34:01,865 [Thread-8] ERROR hbm2ddl.SchemaExport - HHH000389: Unsuccessful: drop table if exists app
| Error 2015-01-29 20:34:01,865 [Thread-8] ERROR hbm2ddl.SchemaExport - Cannot delete or update a parent row: a foreign key constraint fails
Hibernate: drop table if exists app_features
Hibernate: drop table if exists client
| Error 2015-01-29 20:34:01,875 [Thread-8] ERROR hbm2ddl.SchemaExport - HHH000389: Unsuccessful: drop table if exists client
| Error 2015-01-29 20:34:01,875 [Thread-8] ERROR hbm2ddl.SchemaExport - Cannot delete or update a parent row: a foreign key constraint fails
Hibernate: drop table if exists menu_component
| Error 2015-01-29 20:34:01,887 [Thread-8] ERROR hbm2ddl.SchemaExport - HHH000389: Unsuccessful: drop table if exists menu_component
| Error 2015-01-29 20:34:01,888 [Thread-8] ERROR hbm2ddl.SchemaExport - Cannot delete or update a parent row: a foreign key constraint fails