Skip to content

Commit

Permalink
DBType doesn't work at slick 3.1
Browse files Browse the repository at this point in the history
I found O.DBType doesn't exist in MySql Driver, and it could be SqlType instead.
  • Loading branch information
hellomaya committed Dec 21, 2015
1 parent 00fa9ee commit 372bf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slick/src/sphinx/schemas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ object. The following ones are defined for ``JdbcProfile``:

.. index:: type

``DBType(dbType: String)``
``SqlType(typeName: 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

Expand Down

0 comments on commit 372bf61

Please sign in to comment.