()
| 440 | } |
| 441 | |
| 442 | protected initServices(): void { |
| 443 | this.runner = this.createRunner(); |
| 444 | this.storage = this.createStorage(); |
| 445 | |
| 446 | if (this.options.generator) { |
| 447 | this.generator = new this.options.generator(this.driver, this.config.getNamingStrategy(), this.options); |
| 448 | } else { |
| 449 | this.generator = this.getDefaultGenerator(); |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | protected resolve(params: { name: string; path: string }): RunnableMigration { |
| 454 | const createMigrationHandler = async (method: 'up' | 'down', afterRun?: (tx?: Transaction) => Promise<void>) => { |
nothing calls this directly
no test coverage detected