@xiaolaa2/ableton-copilot-mcp
Version:
Ableton Live MCP depend on Ableton JS
24 lines (23 loc) • 848 B
TypeScript
import { DataSource } from 'typeorm';
/**
* Check if this is the first run with the new migration system
* @param dbPath Path to the database file
* @returns true if this is the first run, false otherwise
*/
export declare function isFirstRun(dbPath: string): boolean;
/**
* Verify that migrations table exists
* @param dataSource The TypeORM data source
* @returns Promise resolving to true if migrations table exists
*/
export declare function verifyMigrationsTable(dataSource: DataSource): Promise<boolean>;
/**
* Create a backup of the database before migration
* @param dbPath Path to the database file
*/
export declare function createBackup(dbPath: string): void;
/**
* Ensure migrations directory exists and return its path
* @returns Path to the migrations directory
*/
export declare function ensureMigrationsDir(): string;