package
2023.0.1+incompatible
Repository: https://github.com/lukaszbudnik/migrator.git
Documentation: pkg.go.dev
# Constants
ActionApply (the default action) tells migrator to apply all source migrations.
ActionSync tells migrator to synchronise source migrations and not apply them.
APIV1 - REST API - removed in v2021.0.0.
APIV2 - GraphQL API - current.
No description provided by the author
No description provided by the author
MigrationTypeSingleMigration is used to mark single migration.
MigrationTypeSingleScript is used to mark single SQL script which is executed always.
MigrationTypeTenantMigration is used to mark tenant migrations.
MigrationTypeTenantScript is used to mark tenant SQL scripts which is executed always.
# Structs
CreateResults contains results of CreateVersion or CreateTenant.
DBMigration embeds Migration and adds DB-specific fields.
No description provided by the author
No description provided by the author
No description provided by the author
Migration contains basic information about migration.
Summary contains summary information about executed migrations.
Tenant contains basic information about tenant.
TenantInput is used by GraphQL to create a new tenant in DB.
Version contains information about migrator versions.
VersionInfo contains build information and supported API versions.
VersionInput is used by GraphQL to create new version in DB.
# Type aliases
Action stores information about migrator action.
APIVersion represents migrator API versions.
No description provided by the author
MigrationType stores information about type of migration.