(options = {})
| 209 | return this.migrateTo(next.version, options); |
| 210 | }, |
| 211 | async down(options = {}) { |
| 212 | const prev = await this.previous(); |
| 213 | if (!prev) throw new Error("No previous schema to migrate to."); |
| 214 | |
| 215 | return this.migrateTo(prev.version, options); |
| 216 | }, |
| 217 | async migrateTo(version, options = {}) { |
| 218 | const { |
| 219 | updateSettings: updateVersion = true, |
nothing calls this directly
no outgoing calls
no test coverage detected