Slick 3.0.2 does not automatically create a database table when it does not exist, so you need to do something like:
val setup = DBIO.seq( (table1.schema ++ table2.schema).create, //... )
Where do you put this code in Play 2.4?
Persistent binding?
https://www.playframework.com/documentation/2.4.x/ScalaDependencyInjection#Eager-bindings
From the perspective of framework developers, you should use evolution to define your schema.
https://www.playframework.com/documentation/2.4.x/Evolutions https://www.playframework.com/documentation/2.4.x/PlaySlick
, , Slick.
- , .
, .
Source: https://habr.com/ru/post/1606687/More articles:How to deduce the identifier type liftM2 (==) and (\ x-> x + 1) id - type-inferenceMYSQL: closest to delivery date grouped by user_id - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1606684/get-nearest-records-to-specific-date-grouped-by-type&usg=ALkJrhihW-qd4IsY54zEtlRG5aYXAP2VpAGet closest date from MySQL table - datePHP curl FTPes with explicit TLS / SSL - phpDisadvantages of client side routing? - javascriptANDROID: view multiple cards in recycler view - javaNokogiri installation error due to lack of native extension - ruby | fooobar.comCreate a Webjob singleton using multiple deployments using web applications in Azure - visual-studiohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1606692/how-to-track-changes-to-a-list&usg=ALkJrhi_anY1Tcxeh_1HR73MnatJA-Sg3gAll Articles