We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77000a8 commit 55562a4Copy full SHA for 55562a4
1 file changed
docker-entrypoint.sh
@@ -167,7 +167,10 @@ EOF
167
168
# Seed database with initial user
169
echo -e "${YELLOW}Creating initial user and client...${NC}"
170
- php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/FrontOffice/migrations/phinx.php
+ if ! php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/FrontOffice/migrations/phinx.php; then
171
+ echo -e "${YELLOW}Initial user/client seed failed. update-all completed successfully, so initialization will continue.${NC}"
172
+ echo -e "${YELLOW}If needed, rerun the seed manually after startup.${NC}"
173
+ fi
174
175
# Set permissions
176
echo -e "${YELLOW}Setting permissions...${NC}"
0 commit comments