anydb-sql-migrations
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -18,4 +18,11 @@ declare module "anydb-sql-migrations" { | ||
} | ||
export interface MigrationOptions { | ||
check?: boolean; | ||
execute?: boolean; | ||
rollback?: boolean; | ||
drop?: boolean; | ||
} | ||
export function create(db: AnydbSql, tasks: string | MigrationTask[]): { | ||
run: () => Promise<any>; | ||
execMigrations: (migrationOptions: MigrationOptions) => Promise<void>; | ||
check: (f: (items: MigrationTask[]) => any) => Promise<any>; | ||
@@ -22,0 +29,0 @@ migrate: () => Promise<any>; |
{ | ||
"name": "anydb-sql-migrations", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Database migrations for anydb-sql", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89619
1417