fix db-migration

This commit is contained in:
Andras Bacsai 2023-05-03 09:02:20 +02:00
parent 218e5ecb35
commit c3cb5c7356

View File

@ -1,7 +1,7 @@
#!/command/execlineb -P
VERSION=$(php bootstrap/getVersion.php)
if echo "$VERSION" | grep -q "nightly"; then
if [ echo "$VERSION" | grep -q "nightly" ]; then
php /var/www/html/artisan migrate:fresh --force
php /var/www/html/artisan db:seed --class ProductionSeeder --force
else