Check table existance in slick 3.0

311 views
Skip to first unread message

Benjamin B.

unread,
May 4, 2015, 2:23:22 PM5/4/15
to scala...@googlegroups.com
Hi,

How do you check for table existence on slick 3.0 ?

There was a way with previous versions using MTable.getTables.list(), but it doesn't compile anymore.

Thanks !

Stefan Ollinger

unread,
May 5, 2015, 3:35:20 PM5/5/15
to scala...@googlegroups.com
Hey,

take a look at TestDB [1] which uses java.sql.DatabaseMetaData.

Regards,
Stefan


Stefan Ollinger

unread,
May 5, 2015, 3:55:54 PM5/5/15
to scala...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages