on dev help sign in
doc fixes
commit0cdad0701d089458d25789348c97467376975ec8 authorEitan Chatav <eitan.chatav@gmail.com> dateThu 31 Aug 2017, 15:41 (9 years ago) parentf399510
2 files changed+3−3
squeal-postgresql/src/Squeal/PostgreSQL.hs+2−2 squeal-postgresql/src/Squeal/PostgreSQL/Definition.hs+1−1
squeal-postgresql/src/Squeal/PostgreSQL.hs+2−2
@@ -36,8 +36,8 @@
3636-- The first step is to define the schema of our database. This is where
3737-- we use @DataKinds@ and @TypeOperators@. The schema consists of a type-level
3838-- 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
40−-- `Data.TypeLit.Symbol` and a `ColumnType`. The `ColumnType` describes the
39+-- @Symbol@ and a list a columns, itself a `:::` pairing of a
40+-- @Symbol@ and a `ColumnType`. The `ColumnType` describes the
4141-- PostgreSQL type of the column as well as whether or not it may contain
4242-- @NULL@ and whether or not inserts and updates can use a @DEFAULT@. For our
4343-- 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 $
394394 "ADD COLUMN" <+> renderAlias column <+> renderTypeExpression ty
395395
396396-- | An `addColumnDefault` adds a new `Null` column. The new column is
397−-- initially filled with %NULL%s.
397+-- initially filled with @NULL@s.
398398--
399399-- >>> :{
400400-- let