lamindb.setup.migrate#
- class lamindb.setup.migrate#
Bases:
object
Manage migrations.
Methods
- static generate(version='vX.X.X', package_name=None)#
Generate migration for current schema module.
Needs to be executed at the root level of the python package that contains the schema module.
- Parameters:
version – Version string to label migration with.
package_name – Optional. Name of schema module package.