Closed evgeniy-dammer closed 1 year ago
@tangyang9464 @JalinWang @imp2002
I looked at the NewAdapter
code. It turned out to be necessary to add second string parameter with my database name. I think, it should be added into example.
@evgeniy-dammer hi, can you make a PR to update the README example?
Sure)
Hello, I use this case
a, _ := pgadapter.NewAdapter("postgresql://username:password@postgres:5432/database?sslmode=disable")
to create a new adapter, and I specify my existing database name in connection string. But a newcasbin
database withcasbin_rule
table is creating. What am I do wrong?