Pipelines.scala 469 Bytes
Newer Older
Peter van 't Hof's avatar
Peter van 't Hof committed
1
2
3
4
5
6
7
8
9
10
11
12
13
package nl.lumc.sasc.biopet.utils.summary.db

import slick.driver.H2Driver.api._

/**
  * Created by pjvanthof on 27/01/2017.
  */
class Pipelines(tag: Tag) extends Table[(Int, String)](tag, "Pipelines") {
  def pipelineId = column[Int]("runId", O.PrimaryKey) // This is the primary key column
  def pipelineName = column[String]("sampleName")
  // Every table needs a * projection with the same type as the table's type parameter
  def * = (pipelineId, pipelineName)
}