izartu API

migrate.php

CLI: bring the database schema up to date.

Applies, in order, every migration the database lacks (all of them on a fresh install), then reports its version. It refuses a database it cannot continue from and stops at the first migration that fails. Before connecting, it warns of any DB_SSL_* setting another one leaves without effect.

Run it: docker compose exec app php /var/www/izartu/private/cli/migrate.php (Docker) php private/cli/migrate.php (bare PHP)

Table of Contents

On this page
  • Table Of Contents

Search results