cmd oxl db
oxl db diff [name] [path] [--dialect sqlite|postgres] [--check] | migrate --db <url> [--to N] | rollback --db <url> [--steps n] | status --db <url>ORM migrations (§12.8): oxl.db.lock + migrations/NNNN_name.up.sql/.down.sql, applied ones recorded in _oxl_migrations
Формы вызова
oxl db diff [name] [path] [--dialect sqlite|postgres] [--check]oxl db migrate --db <url> [--to N]oxl db rollback --db <url> [--steps n]oxl db status --db <url>
Флаги
--dialect sqlite|postgres] | |
--check | |
--db <url> | |
--to | |
--steps |
Коды завершения
0 success, 1 program error or failed tests, 2 bad arguments, 3 compilation error, 78 configuration error