My problem is simple.
I have a column seqNum: Double which is NOT NULL DEFAULT 1 in CREATE TABLE statement as follows:
seqNum: Double
NOT NULL DEFAULT 1
CREATE TABLE
Either you enforce the Option passed to Slick by suffixing it with a .getOrElse(theDefault), or you make the DB accepts NULL (from a None value) and defaults it using some trigger.
Option
.getOrElse(theDefault)
NULL
None