  | This code was originally created by squealgen . Edit if you know how it got made and are willing to own it now .
# LANGUAGE DataKinds #
# LANGUAGE DeriveGeneric #
# LANGUAGE OverloadedLabels #
# LANGUAGE FlexibleContexts #
{-# LANGUAGE OverloadedStrings #-}
# LANGUAGE PolyKinds #
# LANGUAGE TypeApplications #
# LANGUAGE TypeOperators #
{-# LANGUAGE GADTs #-}
# OPTIONS_GHC -fno - warn - unticked - promoted - constructors #

module Arrays.Public where
import Squeal.PostgreSQL
import GHC.TypeLits(Symbol)

type PGname = UnsafePGType "name"
type PGregclass = UnsafePGType "regclass"
type PGltree = UnsafePGType "ltree"
type PGcidr = UnsafePGType "cidr"
type PGltxtquery = UnsafePGType "ltxtquery"
type PGlquery = UnsafePGType "lquery"


type DB = '["public" ::: Schema]

type Schema = Join Tables (Join Views (Join Enums (Join Functions (Join Composites Domains))))
-- enums

-- decls
type Enums =
  ('[] :: [(Symbol,SchemumType)])

type Composites =
  ('[] :: [(Symbol,SchemumType)])

-- schema
type Tables = ('[
   "text_arrays" ::: 'Table TextArraysTable]  :: [(Symbol,SchemumType)])

  defs
type TextArraysColumns = '["name" ::: 'NoDef :=> 'NotNull (PGvararray (NotNull PGtext))]
type TextArraysConstraints = '[]
type TextArraysTable = TextArraysConstraints :=> TextArraysColumns

-- VIEWS
type Views = 
  '[]


-- functions
type Functions = 
  '[  ]
type Domains = '[]


# LANGUAGE OverloadedStrings #
# LANGUAGE GADTs #
 enums
 decls
 schema
 VIEWS
 functions
  | This code was originally created by squealgen . Edit if you know how it got made and are willing to own it now .
# LANGUAGE DataKinds #
# LANGUAGE DeriveGeneric #
# LANGUAGE OverloadedLabels #
# LANGUAGE FlexibleContexts #
# LANGUAGE PolyKinds #
# LANGUAGE TypeApplications #
# LANGUAGE TypeOperators #
# OPTIONS_GHC -fno - warn - unticked - promoted - constructors #

module Arrays.Public where
import Squeal.PostgreSQL
import GHC.TypeLits(Symbol)

type PGname = UnsafePGType "name"
type PGregclass = UnsafePGType "regclass"
type PGltree = UnsafePGType "ltree"
type PGcidr = UnsafePGType "cidr"
type PGltxtquery = UnsafePGType "ltxtquery"
type PGlquery = UnsafePGType "lquery"


type DB = '["public" ::: Schema]

type Schema = Join Tables (Join Views (Join Enums (Join Functions (Join Composites Domains))))

type Enums =
  ('[] :: [(Symbol,SchemumType)])

type Composites =
  ('[] :: [(Symbol,SchemumType)])

type Tables = ('[
   "text_arrays" ::: 'Table TextArraysTable]  :: [(Symbol,SchemumType)])

  defs
type TextArraysColumns = '["name" ::: 'NoDef :=> 'NotNull (PGvararray (NotNull PGtext))]
type TextArraysConstraints = '[]
type TextArraysTable = TextArraysConstraints :=> TextArraysColumns

type Views = 
  '[]


type Functions = 
  '[  ]
type Domains = '[]

