@panoptic-it-solutions/coolify-setup 1.1.17 → 1.1.18
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/detector.js +6 -5
- package/package.json +1 -1
package/dist/detector.js
CHANGED
|
@@ -25,12 +25,13 @@ export async function detectProject() {
|
|
|
25
25
|
else if (hasYarnLock)
|
|
26
26
|
packageManager = 'yarn';
|
|
27
27
|
// Detect where migrations are located (check in order of priority)
|
|
28
|
+
// Prefer natural drizzle locations over our old copy destinations (lib/db, src/lib/db)
|
|
28
29
|
const possibleDbPaths = [
|
|
29
|
-
'src/
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'db', //
|
|
33
|
-
'
|
|
30
|
+
'src/db', // Common drizzle location with src/
|
|
31
|
+
'db', // Common drizzle location
|
|
32
|
+
'drizzle', // Alternative drizzle location
|
|
33
|
+
'src/lib/db', // Our old copy destination (check last)
|
|
34
|
+
'lib/db', // Our old copy destination (check last)
|
|
34
35
|
];
|
|
35
36
|
let dbPath = null;
|
|
36
37
|
for (const path of possibleDbPaths) {
|