()
| 290 | } |
| 291 | |
| 292 | function getMigrationsFolderPath(): string { |
| 293 | const migrationsPath = path.join(getContinueGlobalPath(), ".migrations"); |
| 294 | if (!fs.existsSync(migrationsPath)) { |
| 295 | fs.mkdirSync(migrationsPath); |
| 296 | } |
| 297 | return migrationsPath; |
| 298 | } |
| 299 | |
| 300 | export async function migrate( |
| 301 | id: string, |
no test coverage detected