ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

Apply every migration that has not been run yet.

Async Method handle Apply every migration that has not been run yet.
Class Variable arguments Command-line argument declarations accepted by this command.
Class Variable description Runs all pending database migrations..
Class Variable signature migrate.

Inherited from MigrationCommand:

Method progressEvents Build the progress callbacks rendering one line per migration.
Method reportEmpty Report that the command had nothing to do.
Method targetConnection Return the connection the command was asked to run against.
Class Variable timestamps Indicates whether timestamps will be shown in the command output.
async def handle(self, migrator: Migrator, seeder_runner: SeederRunner): (source)

Apply every migration that has not been run yet.

Parameters
migrator:orionis.database.migrations.MigratorService that discovers and applies pending migrations.
seeder_runner:orionis.database.seeders.SeederRunnerService that runs pending seeders when --seed is selected.
Returns
NoneThis method does not return a value.
arguments: ClassVar[list[Argument]] = (source)

Command-line argument declarations accepted by this command.

description: str = (source)

Runs all pending database migrations..

signature: str = (source)

migrate.