mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-25 08:19:14 +03:00
examples/HDBC/MySQL: apply DeriveGeneric.
This commit is contained in:
parent
b545487b97
commit
07b4ba68d6
@ -1,11 +1,13 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
module Example.User where
|
||||
|
||||
import GHC.Generics (Generic)
|
||||
import Prelude hiding (id)
|
||||
import Example.DataSource (defineTable)
|
||||
|
||||
$(defineTable
|
||||
[]
|
||||
"TEST" "user" [])
|
||||
"TEST" "user" [''Generic])
|
||||
|
Loading…
Reference in New Issue
Block a user