mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 10:15:22 +00:00
Seed through artisan
This commit is contained in:
parent
c9e6bcfe5a
commit
c94f69eb7d
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ echo "Database ready!"
|
|||
counttables=$(echo 'SHOW TABLES' | ${dbcmd} "$DB_NAME" | wc -l)
|
||||
|
||||
echo "Updating database schema..."
|
||||
lnms migrate --seed --force --no-ansi --no-interaction
|
||||
lnms migrate --force --no-ansi --no-interaction
|
||||
artisan db:seed --force --no-ansi --no-interaction
|
||||
|
||||
echo "Clear cache"
|
||||
artisan cache:clear --no-interaction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue