Closed linxing closed 4 years ago
I am not quite understand why not just CRUD the policy when save policy instead of drop table then create table?
Fix: https://github.com/casbin/xorm-adapter/issues/26
Coverage increased (+0.9%) to 67.713% when pulling ce86dd499b44cc33efdbce0ed7b5506f5f5699ae on linxing:fix-save-policy into 79a2aa54a016320eb29cf90090f642183827750b on casbin:master.
This PR is reverted because of this: https://github.com/casbin/xorm-adapter/pull/28#issuecomment-642666837
I am not quite understand why not just CRUD the policy when save policy instead of drop table then create table?
Fix: https://github.com/casbin/xorm-adapter/issues/26