on dev help sign in
doc fixes
0cdad07Eitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL.hs+2−2
@@ -36,8 +36,8 @@
36-- The first step is to define the schema of our database. This is where
36-- The first step is to define the schema of our database. This is where
37-- we use @DataKinds@ and @TypeOperators@. The schema consists of a type-level
37-- we use @DataKinds@ and @TypeOperators@. The schema consists of a type-level
38-- list of tables, a `:::` pairing of a type level string or
38-- list of tables, a `:::` pairing of a type level string or
39−-- `Data.TypeLit.Symbol` and a list a columns, itself a `:::` pairing of a
39+-- @Symbol@ and a list a columns, itself a `:::` pairing of a
40−-- `Data.TypeLit.Symbol` and a `ColumnType`. The `ColumnType` describes the
40+-- @Symbol@ and a `ColumnType`. The `ColumnType` describes the
41-- PostgreSQL type of the column as well as whether or not it may contain
41-- PostgreSQL type of the column as well as whether or not it may contain
42-- @NULL@ and whether or not inserts and updates can use a @DEFAULT@. For our
42-- @NULL@ and whether or not inserts and updates can use a @DEFAULT@. For our
43-- schema, we'll define two tables, a users table and an emails table.
43-- schema, we'll define two tables, a users table and an emails table.
squeal-postgresql/src/Squeal/PostgreSQL/Definition.hs+1−1
@@ -394,7 +394,7 @@ addColumnDefault column ty = UnsafeAlterColumns $
394 "ADD COLUMN" <+> renderAlias column <+> renderTypeExpression ty
394 "ADD COLUMN" <+> renderAlias column <+> renderTypeExpression ty
395
395
396-- | An `addColumnDefault` adds a new `Null` column. The new column is
396-- | An `addColumnDefault` adds a new `Null` column. The new column is
397−-- initially filled with %NULL%s.
397+-- initially filled with @NULL@s.
398--
398--
399-- >>> :{
399-- >>> :{
400-- let
400-- let