Update examples along with deprecations.

This commit is contained in:
Kei Hibino 2016-02-12 20:50:15 +09:00
parent d5c6b979d6
commit 2df540041b
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
import Database.HDBC.Query.TH () import Database.HDBC.Query.TH ()
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "birthday" "PUBLIC" "birthday"
[ ("name" , [t| String |]) [ ("name" , [t| String |])
, ("day" , [t| Day |]) , ("day" , [t| Day |])

View File

@ -6,7 +6,7 @@ import Data.Int
import Database.Relational.Query import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "person" "PUBLIC" "person"
[ ("name" , [t| String |]) [ ("name" , [t| String |])
, ("age" , [t| Int32 |]) , ("age" , [t| Int32 |])

View File

@ -6,7 +6,7 @@ import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "my_table" "PUBLIC" "my_table"
[ ("person", [t| String |]) [ ("person", [t| String |])
, ("family", [t| String |]) , ("family", [t| String |])

View File

@ -7,7 +7,7 @@ import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
import Database.HDBC.Query.TH () import Database.HDBC.Query.TH ()
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "birthday" "PUBLIC" "birthday"
[ ("name" , [t| String |]) [ ("name" , [t| String |])
, ("day" , [t| Day |]) , ("day" , [t| Day |])

View File

@ -6,7 +6,7 @@ import Data.Int
import Database.Relational.Query import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "person" "PUBLIC" "person"
[ ("name" , [t| String |]) [ ("name" , [t| String |])
, ("age" , [t| Int32 |]) , ("age" , [t| Int32 |])

View File

@ -6,7 +6,7 @@ import Database.Relational.Query
import Database.Relational.Query.TH import Database.Relational.Query.TH
$(defineTableDefault defaultConfig $(defineTable defaultConfig
"PUBLIC" "my_table" "PUBLIC" "my_table"
[ ("person", [t| String |]) [ ("person", [t| String |])
, ("family", [t| String |]) , ("family", [t| String |])