Skip to content

Commit

Permalink
ok it is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed May 3, 2023
1 parent 476abd3 commit 3e475d8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docker/prod-ssu/etc/s6-overlay/s6-rc.d/db-migration/up
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
#!/bin/sh
VERSION=$(php bootstrap/getVersion.php)

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
php /var/www/html/artisan migrate --force --isolated
fi
#!/command/execlineb -P
php /var/www/html/artisan migrate --force --isolated

0 comments on commit 3e475d8

Please sign in to comment.