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

View In Hierarchy

Revert every migration recorded on the connection.

Async Method handle Revert every migration recorded on the connection.
Class Variable description Reverts every applied database migration..
Class Variable signature migrate:reset.

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 arguments Every migration command targets an optional named connection.
Class Variable timestamps Indicates whether timestamps will be shown in the command output.
async def handle(self, migrator: Migrator): (source)

Revert every migration recorded on the connection.

Parameters
migrator:orionis.database.migrations.MigratorService that discovers and reverts applied migrations.
Returns
NoneThis method does not return a value.
description: str = (source)

Reverts every applied database migration..

signature: str = (source)

migrate:reset.