()
| 140 | }, |
| 141 | |
| 142 | createMigrator() { |
| 143 | if (!adapter.createMigrationEngine) |
| 144 | throw new Error("The adapter doesn't support migration engine."); |
| 145 | |
| 146 | return adapter.createMigrationEngine.call(adapterContext); |
| 147 | }, |
| 148 | |
| 149 | get abstract() { |
| 150 | return this.orm(schemas.at(-1)!.version) as any; |