mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-15 06:43:04 +03:00
Remove unused definitions from example.
This commit is contained in:
parent
dc67b4ce56
commit
e2fffab5bb
@ -1,26 +1,6 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
|
||||
module PgTest where
|
||||
|
||||
import Distribution.TestSuite (Test)
|
||||
import PgTestDataSource (defineTable)
|
||||
-- import Database.HDBC.PostgreSQL (connectPostgreSQL, Connection)
|
||||
-- import Database.HDBC.Schema.PostgreSQL (driverPostgreSQL)
|
||||
-- import Database.HDBC.Schema.Driver (typeMap)
|
||||
-- import Database.HDBC.TH (defineTableFromDB)
|
||||
import Data.ByteString (ByteString)
|
||||
import Data.Text (Text)
|
||||
|
||||
tests :: [Test]
|
||||
tests = []
|
||||
|
||||
$(defineTable
|
||||
[("varchar", [t| ByteString |]),
|
||||
("text", [t| Text |])
|
||||
]
|
||||
"TEST" "test_table0" [])
|
||||
-- defineTableFromDB
|
||||
-- (connectPostgreSQL "dbname=testdb")
|
||||
-- (driverPostgreSQL { typeMap = [("varchar", [t| Text |])] })
|
||||
-- "TEST" "test_table0" []
|
||||
|
Loading…
Reference in New Issue
Block a user