Temporary fix instantiation error
1 parent be75cef commit 9e67999ef0e38da4162c8eadd310e77ed6023afc
@takezoe takezoe authored on 2 Mar 2015
Showing 1 changed file
View
12
src/main/scala/gitbucket/core/model/Profile.scala
package gitbucket.core.model
 
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._
 
// java.util.Date Mapped Column Types
implicit val dateColumnType = MappedColumnType.base[java.util.Date, java.sql.Timestamp](
with PullRequestComponent
with RepositoryComponent
with SshKeyComponent
with WebHookComponent
with PluginComponent {
 
val profile = slick.driver.H2Driver
}
with PluginComponent
 
object Profile extends CoreProfile