graphql-engine/server/src-lib/Hasura/SQL/Backend.hs
Vladimir Ciobanu 6b7b68504a server: improve the UX around SourceInfo
GitOrigin-RevId: 47f7e9b7daa3f89771dd3883e9f6050274827e27
2021-02-08 16:31:17 +00:00

14 lines
369 B
Haskell

module Hasura.SQL.Backend where
import Hasura.Prelude
data BackendType = Postgres -- MySQL | MSSQL
deriving (Show, Bounded, Enum)
-- TODO: introduce a "None" backend for parts of the code that
-- should never touch an actual backend, such as introspection
-- queries.
data BackendTag (b :: BackendType) where
PostgresTag :: BackendTag 'Postgres