spooder 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api.ts +1 -1
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -368,7 +368,7 @@ export async function db_init_schema_sqlite(db_path: string, schema_dir: string)
|
|
|
368
368
|
return db;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export async function db_init_schema_mysql(db_info: mysql_types.
|
|
371
|
+
export async function db_init_schema_mysql(db_info: mysql_types.ConnectionOptions, schema_dir: string): Promise<mysql_types.Connection> {
|
|
372
372
|
if (mysql === undefined)
|
|
373
373
|
throw new Error('{db_init_schema_mysql} cannot be called without optional dependency {mysql2} installed');
|
|
374
374
|
|