标签: postgresql liquibase liquibase-hibernate
我先使用viewExists来检查物化视图是否存在,然后再删除它,但是它说
viewExists
'View does not exist'
({ViewExistsPrecondition.check),即使我的实例化视图存在。
ViewExistsPrecondition.check
我认为问题在于SnapshotGeneratorFactory的{{1}}方法。 由于在调用has()时没有实现。如何在不使用自定义SQL前提条件的情况下实现对snapshot.get(view.class))的检查
SnapshotGeneratorFactory
has()
snapshot.get(view.class))