fix db-migration
This commit is contained in:
parent
218e5ecb35
commit
c3cb5c7356
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#!/command/execlineb -P
|
#!/command/execlineb -P
|
||||||
VERSION=$(php bootstrap/getVersion.php)
|
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 migrate:fresh --force
|
||||||
php /var/www/html/artisan db:seed --class ProductionSeeder --force
|
php /var/www/html/artisan db:seed --class ProductionSeeder --force
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue