Skip to content

empty databases? #164

Closed Answered by karlomikus
FearWasHere asked this question in Q&A
Discussion options

You must be logged in to vote

What you are looking for is this command: php artisan bar:open. This sets up the initial data, but runs only if the database is created for the first time. So if you already have the volume and the database file is created it wont be run. You can see what executes in your container on start here: https://github.com/karlomikus/bar-assistant/blob/master/resources/docker/run.sh . You can try to fix it by running it manually:

docker compose exec bar-assistant php artisan bar:open

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by FearWasHere
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants