Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I specify a Postgresql schema in ScalaQuery?

Tags:

scalaquery

I tried, for instance:

object WebCache extends Table[(...)]("myschema.mytable") {
  ...
}

But that doesn't work.

like image 490
Yang Avatar asked Jul 16 '11 22:07

Yang


1 Answers

Slick now has this functionality:

object WebCache extends Table[(...)](Some("myschema"), "mytable") {
  ...
}

Should work.

like image 111
Jack Avatar answered Oct 11 '22 17:10

Jack