File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -287,12 +287,16 @@ docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/consol
287287# ddev php bin/console ibexa:doctrine:schema:dump-sql vendor/ibexa/share/src/bundle/Resources/config/schema.yaml | ddev mysql
288288# ddev php bin/console ibexa:doctrine:schema:dump-sql vendor/ibexa/connector-ai/src/bundle/Resources/config/schema.yaml | ddev mysql
289289
290- # Generate new GraphQL schema if used (while admin-ui doesn't use it anymore)
291- # docker compose exec -T --user www-data app sh -c 'php bin/console cache:pool:clear ${CACHE_POOL:-cache.tagaware.filesystem}'
292- # docker compose --env-file=.env exec -T --user www-data app sh -c "composer require ibexa/graphql --no-interaction"
290+ # Clear persistence cache pool (when using Redis or Memcached)
293291if [[ " $COMPOSE_FILE " == * " redis.yml" * ]]; then
294292 docker compose --env-file=.env exec -T --user www-data app sh -c " php bin/console cache:pool:clear --all"
295293fi
294+
295+ # Migration (update 'company' content type)
296+ docker compose --env-file=.env exec -T --user www-data app sh -c " php bin/console ibexa:migrations:import vendor/ibexa/corporate-account/src/bundle/Resources/migrations/2025_07_08_09_27_set_container_to_company.yaml"
297+ docker compose --env-file=.env exec -T --user www-data app sh -c " php bin/console ibexa:migrations:migrate --file=2025_07_08_09_27_set_container_to_company.yaml --siteaccess=admin"
298+
299+ # Generate new GraphQL schema if used (while admin-ui doesn't use it anymore)
296300docker compose --env-file=.env exec -T --user www-data app sh -c " php bin/console ibexa:graphql:generate-schema"
297301
298302# reindex
You can’t perform that action at this time.
0 commit comments