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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/api.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "spooder",
3
3
  "type": "module",
4
- "version": "4.5.4",
4
+ "version": "4.5.5",
5
5
  "exports": {
6
6
  ".": {
7
7
  "bun": "./src/api.ts",
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(schema_dir, schema_file);
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();