{- | Module: Squeal.PostgreSQL.Definition.Constraint Description: comments Copyright: (c) Eitan Chatav, 2020 Maintainer: eitan@morphism.tech Stability: experimental comments -} {-# LANGUAGE AllowAmbiguousTypes , ConstraintKinds , DeriveAnyClass , DeriveGeneric , DerivingStrategies , FlexibleContexts , FlexibleInstances , GADTs , LambdaCase , MultiParamTypeClasses , OverloadedLabels , OverloadedStrings , RankNTypes , ScopedTypeVariables , TypeApplications , TypeInType , TypeOperators , UndecidableSuperClasses #-} module Squeal.PostgreSQL.Definition.Comment ( commentOnTable , commentOnType , commentOnView , commentOnFunction , commentOnIndex , commentOnColumn , commentOnSchema ) where import Squeal.PostgreSQL.Definition import Squeal.PostgreSQL.Type.Alias import Squeal.PostgreSQL.Render import Squeal.PostgreSQL.Type.Schema import GHC.TypeLits (KnownSymbol) import Data.Text (Text) {----------------------------------------- COMMENT statements -----------------------------------------} {- | When a user views a table in the database (i.e. with \d+