mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
3cef692dd7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8649 GitOrigin-RevId: 4bb9311d1d7ab4e8ee641bde5df2babcb1b8b306
28 lines
1.6 KiB
Haskell
28 lines
1.6 KiB
Haskell
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
module Hasura.Backends.MySQL.Instances.Metadata () where
|
|
|
|
import Hasura.Backends.MySQL.Connection qualified as MySQL
|
|
import Hasura.Backends.MySQL.Schema.Introspection qualified as MySQL (listAllTables)
|
|
import Hasura.Prelude
|
|
import Hasura.RQL.Types.EventTrigger (RecreateEventTriggers (RETDoNothing))
|
|
import Hasura.RQL.Types.Metadata.Backend
|
|
import Hasura.SQL.Backend
|
|
import Hasura.Server.Migrate.Version (SourceCatalogMigrationState (SCMSNotSupported))
|
|
|
|
instance BackendMetadata 'MySQL where
|
|
prepareCatalog _ = pure (RETDoNothing, SCMSNotSupported)
|
|
buildComputedFieldInfo = error "buildComputedFieldInfo: MySQL backend does not support this operation yet."
|
|
fetchAndValidateEnumValues = error "fetchAndValidateEnumValues: MySQL backend does not support this operation yet."
|
|
resolveSourceConfig = MySQL.resolveSourceConfig
|
|
resolveDatabaseMetadata _ = MySQL.resolveDatabaseMetadata
|
|
parseBoolExpOperations = error "parseBoolExpOperations: MySQL backend does not support this operation yet."
|
|
buildFunctionInfo = error "buildFunctionInfo: MySQL backend does not support this operation yet."
|
|
updateColumnInEventTrigger = error "updateColumnInEventTrigger: MySQL backend does not support this operation yet."
|
|
parseCollectableType = error "parseCollectableType: MySQL backend does not support this operation yet."
|
|
postDropSourceHook = MySQL.postDropSourceHook
|
|
buildComputedFieldBooleanExp _ _ _ _ _ _ =
|
|
error "buildComputedFieldBooleanExp: MySQL backend does not support this operation yet."
|
|
listAllTables = MySQL.listAllTables
|
|
supportsBeingRemoteRelationshipTarget _ = False
|