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)
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 | progress |
Build the progress callbacks rendering one line per migration. |
| Method | report |
Report that the command had nothing to do. |
| Method | target |
Return the connection the command was asked to run against. |
| Class Variable | timestamps |
Indicates whether timestamps will be shown in the command output. |
Roll back migrations and immediately apply them again.
| Parameters | |
migrator:orionis.database.migrations.Migrator | Service that discovers, reverts, and applies migrations. |
| Returns | |
None | This method does not return a value. |