casbin / xorm-adapter

Xorm adapter for Casbin
https://github.com/casbin/casbin
Apache License 2.0
384 stars 58 forks source link

feat: fix bug in Postgres dialect where if a table already exists then it would give error (Invalid query) #58

Closed vishal-bihani closed 1 year ago

vishal-bihani commented 1 year ago

Current version of Xorm in this adapter has a bug in Postgres dialect where if a table already exists then it would give error (Invalid query)

Screenshot 2023-08-16 at 5 05 10 PM

For your reference: https://gitea.com/xorm/xorm/pulls/1779

Updating the Xorm dependency resolved the issue.

casbin-bot commented 1 year ago

@tangyang9464 @JalinWang @imp2002 please review

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

coveralls commented 1 year ago

Coverage Status

coverage: 70.737%. remained the same when pulling cd3fd77d68dfc7e5687087beec2480a908881073 on vishal-bihani:master into 2bfc45306f3963dbebce1c603e364a5fa9d4ecdb on casbin:master.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: