abstract class Athena::ORM::Migrations::Commands::AbstractCommand
inherits Athena::Console::Command
#
The parent type of the migrations commands.
Messages logged to AORM::Migrations::Log while a command runs are written to its output instead of the log's backend: notices and above by default, info with -v, and debug, such as each executed query, with -vv.
Direct known subclasses
Athena::ORM::Migrations::Commands::Execute
Athena::ORM::Migrations::Commands::Generate
Athena::ORM::Migrations::Commands::List
Athena::ORM::Migrations::Commands::Migrate
Athena::ORM::Migrations::Commands::Status
Athena::ORM::Migrations::Commands::SyncMetadataStorage
Athena::ORM::Migrations::Commands::Version
Methods#
#run(input : ACON::Input::Interface, output : ACON::Output::Interface) : ACON::Command::Status#
Runs the command with the provided input and output, returning the status of the invocation as an ACON::Command::Status.
Replaces the backend of AORM::Migrations::Log while running, so its entries are only written to the output.