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

View In Hierarchy

Clear migration and seeder history, then rebuild the schema.

Async Method handle Clear migration and seeder history, then apply every migration.
Class Variable description Clears migration and seeder history, then migrates..
Class Variable signature migrate:fresh.

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)

Clear migration and seeder history, then apply every migration.

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

Clears migration and seeder history, then migrates..

signature: str = (source)

migrate:fresh.