Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

lino_tera.lib.tera.migrate

This is an example of how the application developer can provide automatic data migrations.

This module is used because a Lino Tera Site has migration_class set to "lino_tera.lib.tera.migrate.Migrator".

Functions

noop(*args)

Classes

Migrator(site, loader)

The standard migrator for Lino Tera.

class lino_tera.lib.tera.migrate.Migrator(site, loader)

Bases: Migrator

The standard migrator for Lino Tera.

migrate_from_18_8_0(globals_dict)

min_asset and number_of_events now in Tarif instead Product