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

class MigrateRefreshCommand(MigrationCommand): (source)

View In Hierarchy

Roll back migrations and immediately apply them again.

Async Method handle Roll back migrations and immediately apply them again.
Class Variable arguments Command-line argument declarations accepted by this command.
Class Variable description Rolls back and re-applies database migrations..
Class Variable signature migrate:refresh.

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): (source)

Roll back migrations and immediately apply them again.

Parameters
migrator:orionis.database.migrations.MigratorService that discovers, reverts, and applies migrations.
Returns
NoneThis method does not return a value.
arguments: ClassVar[list[Argument]] = (source)

Command-line argument declarations accepted by this command.

description: str = (source)

Rolls back and re-applies database migrations..

signature: str = (source)

migrate:refresh.