/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
tests/migration/v5/.env.example
20 строк
930 B
Ben Irvin
test(migration): version migration testing framework (#26060)
06 авг 2026, 15:39
Не верифицирован
06 авг 2026, 15:39
ac0c928
Код
Авторство
О чём код?
# Optional defaults for `yarn test:migrations` (copy to `.env` in this directory). # Quick check without running installs: `yarn test:migrations:plan --initial legacy` (or `--scenario …`) # CLI flags override these values. # Strapi-supported clients for the harness: postgres | mysql | sqlite. # Use --database mariadb for a MariaDB *server*; Strapi still sets DATABASE_CLIENT=mysql (mysql2). # DATABASE_CLIENT=postgres # Published Docker ports (Compose). Leave unset to let the runner pick a free port (see tests/migration/framework/shared.js). # Pin Postgres: set POSTGRES_PORT and DATABASE_PORT to the same value. # POSTGRES_PORT=5433 # DATABASE_PORT=5433 # MYSQL_PORT=3308 # MARIADB_PORT=3309 # Compose project for Postgres/MySQL/MariaDB containers (isolate from other local work) # STRAPI_MIGRATION_COMPOSE_PROJECT=strapi_migration_v5 # Seed scale (also SEED_MULTIPLIER / MIGRATION_MULTIPLIER) # MIGRATION_MULTIPLIER=1