create-atsdc-stack 1.2.0 → 1.2.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/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -569,7 +569,7 @@ async function setupDatabase(projectDir) {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
// Try to run drizzle-kit push
|
|
572
|
-
execSync('
|
|
572
|
+
execSync('npx drizzle-kit push', {
|
|
573
573
|
cwd: projectDir,
|
|
574
574
|
stdio: 'inherit',
|
|
575
575
|
});
|
|
@@ -578,7 +578,7 @@ async function setupDatabase(projectDir) {
|
|
|
578
578
|
return true;
|
|
579
579
|
} catch (error) {
|
|
580
580
|
logError('Failed to push database schema');
|
|
581
|
-
logWarning('Please configure your DATABASE_URL in .env and run:
|
|
581
|
+
logWarning('Please configure your DATABASE_URL in .env and run: npx drizzle-kit push');
|
|
582
582
|
console.log(`\nError details: ${error.message}`);
|
|
583
583
|
return false;
|
|
584
584
|
}
|