spooder 4.5.4 → 4.5.5
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
|
@@ -246,7 +246,7 @@ async function db_load_schema(schema_dir: string, schema_versions: SchemaVersion
|
|
|
246
246
|
log('[{db}] parsing schema file {%s}', schema_file_lower);
|
|
247
247
|
|
|
248
248
|
const schema_name = path.basename(schema_file_lower, '.sql');
|
|
249
|
-
const schema_path = path.join(
|
|
249
|
+
const schema_path = path.join(schema_file_ent.parentPath, schema_file);
|
|
250
250
|
const schema = await fs.readFile(schema_path, 'utf8');
|
|
251
251
|
|
|
252
252
|
const revisions = new Map();
|