Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hasura.Server.Migrate.Version
Synopsis
- data MetadataCatalogVersion
- newtype SourceCatalogVersion (backend :: BackendType) = SourceCatalogVersion {}
- data SourceCatalogMigrationState
Documentation
data MetadataCatalogVersion Source #
Represents the catalog version. This is stored in the database and then compared with the latest version on startup.
Constructors
MetadataCatalogVersion Int | A typical catalog version. |
MetadataCatalogVersion08 | Maintained for compatibility with catalog version 0.8. |
Instances
newtype SourceCatalogVersion (backend :: BackendType) Source #
This is the source catalog version, used when deciding whether to (re-)create event triggers.
Constructors
SourceCatalogVersion | |
Fields |
Instances
data SourceCatalogMigrationState Source #
Constructors
SCMSUninitializedSource | Source has not been initialized yet. |
SCMSNothingToDo Int | Source catalog is already at the latest catalog version. |
SCMSInitialized Int | Initialization of the source catalog along with the catalog version. |
SCMSMigratedTo Int Int | Source catalog migration catalog version to catalog version. |
SCMSMigrationOnHold Text | Source catalog migration on hold with reason (Maintenance mode, read only mode etc). |
SCMSNotSupported |
Instances
ToEngineLog (SourceName, SourceCatalogMigrationState) Hasura Source # | |
Defined in Hasura.Server.Migrate.Version Methods toEngineLog :: (SourceName, SourceCatalogMigrationState) -> (LogLevel, EngineLogType Hasura, Value) Source # |