@jumpgroup/laravel-tools 3.3.0 → 3.3.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/package.json +1 -1
- package/src/local/setup.js +5 -1
package/package.json
CHANGED
package/src/local/setup.js
CHANGED
|
@@ -346,7 +346,11 @@ export const setupLaravel = async () => {
|
|
|
346
346
|
|
|
347
347
|
if (!hasSessionsMigration) {
|
|
348
348
|
console.log('📋 Generazione della tabella sessioni...');
|
|
349
|
-
|
|
349
|
+
try {
|
|
350
|
+
await executeCommandWithOutput('docker', ['exec', `${appName}-api`, 'php', 'artisan', 'session:table']);
|
|
351
|
+
} catch (e) {
|
|
352
|
+
if (!e.message.includes('already exists')) throw e;
|
|
353
|
+
}
|
|
350
354
|
}
|
|
351
355
|
|
|
352
356
|
console.log('🗄️ Esecuzione delle migration...');
|