Permalink
Browse files

add documentation for O.Unique

  • Loading branch information...
d6y committed Sep 20, 2017
1 parent fbed990 commit b338917ed22f4c6aa36851aaf50c5b136534fc43
Showing with 2 additions and 0 deletions.
  1. +2 −0 doc/src/schemas.md
@@ -47,6 +47,8 @@ object. The following ones are defined for `JdbcProfile`:
- `Default[T](defaultValue: T)`: Specify a default value for inserting data into the table without this column.
This information is only used for creating DDL statements so that the database can fill in the missing information.

- `Unique`: Add a uniqueness constraint to the DDL statement for the column.

- `SqlType(typeName: String)`: Use a non-standard database-specific type for the DDL statements (e.g.
`SqlType("VARCHAR(20)")` for a `String` column).

0 comments on commit b338917

Please sign in to comment.