@panoptic-it-solutions/coolify-setup 1.1.13 → 1.1.14
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/dist/generator.js +4 -1
- package/package.json +1 -1
package/dist/generator.js
CHANGED
|
@@ -67,7 +67,10 @@ function copyMigrationsToLibDb() {
|
|
|
67
67
|
return true;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
// No migrations found - create empty folder so Docker build doesn't fail
|
|
71
|
+
ensureDir(join(destPath, 'dummy'));
|
|
72
|
+
console.log('Created empty lib/db/migrations (no source migrations found)');
|
|
73
|
+
return true;
|
|
71
74
|
}
|
|
72
75
|
function excludeMigrateFromTsConfig(migratePath) {
|
|
73
76
|
const tsconfigPath = join(process.cwd(), 'tsconfig.json');
|