squeal-postgresql 0.1.1.0 → 0.1.1.1
raw patch · 3 files changed
+4/−4 lines, 3 files
Files
- squeal-postgresql.cabal +1/−1
- src/Squeal/PostgreSQL.hs +2/−2
- src/Squeal/PostgreSQL/Definition.hs +1/−1
squeal-postgresql.cabal view
@@ -1,5 +1,5 @@ name: squeal-postgresql-version: 0.1.1.0+version: 0.1.1.1 synopsis: Squeal PostgreSQL Library description: Squeal is a type-safe embedding of PostgreSQL in Haskell homepage: https://github.com/morphismtech/squeal
src/Squeal/PostgreSQL.hs view
@@ -36,8 +36,8 @@ -- The first step is to define the schema of our database. This is where -- we use @DataKinds@ and @TypeOperators@. The schema consists of a type-level -- list of tables, a `:::` pairing of a type level string or--- `Data.TypeLit.Symbol` and a list a columns, itself a `:::` pairing of a--- `Data.TypeLit.Symbol` and a `ColumnType`. The `ColumnType` describes the+-- @Symbol@ and a list a columns, itself a `:::` pairing of a+-- @Symbol@ and a `ColumnType`. The `ColumnType` describes the -- PostgreSQL type of the column as well as whether or not it may contain -- @NULL@ and whether or not inserts and updates can use a @DEFAULT@. For our -- schema, we'll define two tables, a users table and an emails table.
src/Squeal/PostgreSQL/Definition.hs view
@@ -394,7 +394,7 @@ "ADD COLUMN" <+> renderAlias column <+> renderTypeExpression ty -- | An `addColumnDefault` adds a new `Null` column. The new column is--- initially filled with %NULL%s.+-- initially filled with @NULL@s. -- -- >>> :{ -- let