{-# language DeriveFunctor #-}
{-# language DerivingStrategies #-}
module Rel8.Schema.Table
( TableSchema(..)
)
where
import Prelude
data TableSchema names = TableSchema
{ TableSchema names -> String
name :: String
, TableSchema names -> Maybe String
schema :: Maybe String
, TableSchema names -> names
columns :: names
}
deriving stock a -> TableSchema b -> TableSchema a
(a -> b) -> TableSchema a -> TableSchema b
(forall a b. (a -> b) -> TableSchema a -> TableSchema b)
-> (forall a b. a -> TableSchema b -> TableSchema a)
-> Functor TableSchema
forall a b. a -> TableSchema b -> TableSchema a
forall a b. (a -> b) -> TableSchema a -> TableSchema b
forall (f :: * -> *).
(forall a b. (a -> b) -> f a -> f b)
-> (forall a b. a -> f b -> f a) -> Functor f
<$ :: a -> TableSchema b -> TableSchema a
$c<$ :: forall a b. a -> TableSchema b -> TableSchema a
fmap :: (a -> b) -> TableSchema a -> TableSchema b
$cfmap :: forall a b. (a -> b) -> TableSchema a -> TableSchema b
Functor