* @inheritDoc
(options?: { schema?: string })
| 99 | * @inheritDoc |
| 100 | */ |
| 101 | async getExecuted(options?: { schema?: string }): Promise<MigrationRow[]> { |
| 102 | await this.init(); |
| 103 | const schema = options?.schema ?? this.options.schema; |
| 104 | this.storage.setRunSchema?.(schema); |
| 105 | |
| 106 | try { |
| 107 | return await this.storage.getExecutedMigrations(); |
| 108 | } finally { |
| 109 | this.storage.unsetRunSchema?.(); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * @inheritDoc |
nothing calls this directly
no test coverage detected