mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 15:35:59 +01:00
Temporary fix instantiation error
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
package gitbucket.core.model
|
package gitbucket.core.model
|
||||||
|
|
||||||
trait Profile {
|
trait Profile {
|
||||||
val profile: slick.driver.JdbcProfile
|
// TODO Is it possible to fix instance at the sub-trait?
|
||||||
|
val profile: slick.driver.JdbcProfile = slick.driver.H2Driver
|
||||||
import profile.simple._
|
import profile.simple._
|
||||||
|
|
||||||
// java.util.Date Mapped Column Types
|
// java.util.Date Mapped Column Types
|
||||||
@@ -36,9 +37,6 @@ trait CoreProfile extends Profile
|
|||||||
with RepositoryComponent
|
with RepositoryComponent
|
||||||
with SshKeyComponent
|
with SshKeyComponent
|
||||||
with WebHookComponent
|
with WebHookComponent
|
||||||
with PluginComponent {
|
with PluginComponent
|
||||||
|
|
||||||
val profile = slick.driver.H2Driver
|
|
||||||
}
|
|
||||||
|
|
||||||
object Profile extends CoreProfile
|
object Profile extends CoreProfile
|
||||||
|
|||||||
Reference in New Issue
Block a user