class Coffees(tag: Tag) extends Table[Coffee](tag, "coffee") { def id = column[Option[Int]]("id", O.AutoInc) def name = column[String]("name") def price = column[Price]("price")
def * = (id, name, price, fulfilmentMethod, brandId, minOrderPrice, maxOrderPrice, freeDeliveryThreshold, minTimeBeforeTravel) }def pk = primaryKey("coffee_pk", id)
"id" INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1)
--
---
You received this message because you are subscribed to the Google Groups "Slick / ScalaQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalaquery+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalaquery/58964e62-274a-461a-a226-a18e460636b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.