Method

GomCustomMigratoradd_migration

Declaration

void
gom_custom_migrator_add_migration (
  GomCustomMigrator* self,
  GomMigration* migration
)

Description

Adds migration to the list of migrations.

When this migrator is updating, it will perform migration if the version falls within the boundaries of what is being updated.

Parameters

migration

Type: GomMigration

A migration to possibly perform.

The instance takes ownership of the data, and is responsible for freeing it.