scalaVersion := "2.11.6"
libraryDependencies += "org.squeryl" %% "squeryl" % "0.9.5-7"
libraryDependencies += "com.h2database" % "h2" % "1.2.127"
--
You received this message because you are subscribed to the Google Groups "Squeryl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to squeryl+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The documentation exists as part of the repo on the gh-pages branch: https://github.com/squeryl/squeryl/tree/gh-pages You are welcome to submit a pull request including the note.
To set a default for an Optional field, just wrap it in an option:
on(t)(t => declare (
t.anOptionalBooleanField.defaultsTo(Option(false))
))