Browse files

Fixed documentation on ColumnOptions

- NotNull and Null no longer available
- DBType is SqlType
  • Loading branch information...
hvesalai committed Dec 2, 2016
1 parent bce75ab commit 54caa47a962fe8fc9f82ae78970a59ca68fa90bb
Showing with 2 additions and 10 deletions.
  1. +2 −10 slick/src/sphinx/schemas.rst
@@ -62,9 +62,9 @@ object. The following ones are defined for ``JdbcProfile``:
.. index:: type
``DBType(dbType: String)``
``SqlType(dbType: String)``
Use a non-standard database-specific type for the DDL statements (e.g.
``DBType("VARCHAR(20)")`` for a ``String`` column).
``SqlType("VARCHAR(20)")`` for a ``String`` column).
.. index:: AutoInc, generated, identity
@@ -76,14 +76,6 @@ object. The following ones are defined for ``JdbcProfile``:
Slick will check if the return column is properly marked as AutoInc where
.. index:: null, nullable, NotNull
``NotNull``, ``Nullable``
Explicitly mark the column as nullable or non-nullable when creating the
DDL statements for the table. Nullability is otherwise determined from the
type (Option or non-Option). There is usually no reason to specify these
.. index:: *, star projection
Every table requires a ``*`` method containing a default projection.

0 comments on commit 54caa47

Please sign in to comment.