graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Server.Migrate.Version

Synopsis

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

Instances details
Enum MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Read MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Show MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Eq MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Ord MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Lift MetadataCatalogVersion Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

newtype SourceCatalogVersion (backend :: BackendType) Source #

This is the source catalog version, used when deciding whether to (re-)create event triggers.

Instances

Instances details
Lift (SourceCatalogVersion backend :: Type) Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Methods

lift :: Quote m => SourceCatalogVersion backend -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => SourceCatalogVersion backend -> Code m (SourceCatalogVersion backend) #

Enum (SourceCatalogVersion backend) Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Read (SourceCatalogVersion backend) Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Show (SourceCatalogVersion backend) Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

Eq (SourceCatalogVersion backend) Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

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