Command Line Interface (CLI)
The Hysteria ORM CLI provides a set of commands to manage your database and schema, automate migrations, and run SQL directly from the command line.
Available Commands
- Migrations: Create, run, rollback, and refresh migrations.
- Run SQL: Execute raw SQL queries or files against your database.
- Refresh: Drop all tables or rollback all migrations, then re-run all migrations.
- Create Migration: Generate migration files with templates.
See the sidebar for detailed documentation on each command.
Next: Migrations