We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae1c9d commit 1724f2eCopy full SHA for 1724f2e
src/adapter.ts
@@ -60,7 +60,7 @@ export class SequelizeAdapter implements Adapter {
60
61
private async open(): Promise<void> {
62
this.sequelize = new Sequelize(this.option);
63
- updateCasbinRule(this.option.tableName);
+ updateCasbinRule(this.option.tableName, this.option.schema);
64
await this.sequelize.authenticate();
65
this.sequelize.addModels([CasbinRule]);
66
if (this.autoCreateTable) {
0 commit comments