mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-07 15:07:27 +01:00
avoid seed temp fix for twice seeding
This commit is contained in:
@@ -57,12 +57,12 @@ do {
|
||||
} while (true);
|
||||
EOPHP
|
||||
|
||||
php artisan optimize --force
|
||||
php artisan migrate --force
|
||||
#php artisan optimize --force
|
||||
#php artisan migrate --force
|
||||
|
||||
if [ ! -e "/var/www/app/is-seeded" ]; then
|
||||
php artisan db:seed --force
|
||||
touch "/var/www/app/is-seeded"
|
||||
#php artisan db:seed --force
|
||||
#touch "/var/www/app/is-seeded"
|
||||
fi
|
||||
|
||||
echo 'start'
|
||||
|
||||
Reference in New Issue
Block a user