fix db-migration
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user