Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

BrickMigration

Functions
MIGRATE - @classmethod

Must override this class method to write the migration code

The class must be decorated with @brick_migration decorator to be executed. The version used in the @brick_migration must be unique, there can't be 2 migration with the same version for the same brick

from_version : Version
previous version
to_version : Version