hasqlator-mysql 0.0.6 → 0.0.7
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hasqlator-mysql.cabal view
@@ -1,5 +1,5 @@ Name: hasqlator-mysql-Version: 0.0.6+Version: 0.0.7 Synopsis: composable SQL generation Category: Database Copyright: Kristof Bastiaensen (2020)
src/Database/MySQL/Hasqlator/Typed/Schema.hs view
@@ -333,13 +333,13 @@ fieldName = Text.unpack columnName makeTable :: Properties -> Name -> TableInfo -> Q [Dec]-makeTable Properties{tableNameModifier, includeSchema}+makeTable props@Properties{tableNameModifier, includeSchema} dbname ti@TableInfo{tableName, tableSchema} = sequence [ sigD (mkName $ tableNameModifier ti) [t| T.Table- $(litT $ strTyLit tableString)+ $(litT $ strTyLit $ getTableName props ti) $(conT dbname) |] , valD (varP $ mkName $ tableNameModifier ti)