Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirrors
biopet.biopet
Commits
463f8002
Commit
463f8002
authored
Feb 08, 2017
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename column
parent
cc77bd23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/summary/db/Schema.scala
...n/scala/nl/lumc/sasc/biopet/utils/summary/db/Schema.scala
+4
-4
No files found.
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/summary/db/Schema.scala
View file @
463f8002
...
...
@@ -99,22 +99,22 @@ object Schema {
}
val
settings
=
TableQuery
[
Settings
]
case
class
File
(
runId
:
Int
,
pipelineId
:
Int
,
moduleId
:
Option
[
Int
],
sampleId
:
Option
[
Int
],
library
:
Option
[
Int
],
name
:
String
,
path
:
String
,
md5
:
String
,
link
:
Boolean
,
size
:
Long
)
case
class
File
(
runId
:
Int
,
pipelineId
:
Int
,
moduleId
:
Option
[
Int
],
sampleId
:
Option
[
Int
],
library
:
Option
[
Int
],
key
:
String
,
path
:
String
,
md5
:
String
,
link
:
Boolean
,
size
:
Long
)
class
Files
(
tag
:
Tag
)
extends
Table
[
File
](
tag
,
"Files"
)
{
def
runId
=
column
[
Int
](
"runId"
)
def
pipelineId
=
column
[
Int
](
"pipelineId"
)
def
moduleId
=
column
[
Option
[
Int
]](
"moduleId"
)
def
sampleId
=
column
[
Option
[
Int
]](
"sampleId"
)
def
libraryId
=
column
[
Option
[
Int
]](
"libraryId"
)
def
name
=
column
[
String
](
"
name
"
)
def
key
=
column
[
String
](
"
key
"
)
def
path
=
column
[
String
](
"path"
)
def
md5
=
column
[
String
](
"md5"
)
def
link
=
column
[
Boolean
](
"link"
,
O
.
Default
(
false
))
def
size
=
column
[
Long
](
"size"
)
def
*
=
(
runId
,
pipelineId
,
moduleId
,
sampleId
,
libraryId
,
name
,
path
,
md5
,
link
,
size
)
<>
(
File
.
tupled
,
File
.
unapply
)
def
*
=
(
runId
,
pipelineId
,
moduleId
,
sampleId
,
libraryId
,
key
,
path
,
md5
,
link
,
size
)
<>
(
File
.
tupled
,
File
.
unapply
)
def
idx
=
index
(
"idx_files"
,
(
runId
,
pipelineId
,
sampleId
,
libraryId
,
name
),
unique
=
true
)
def
idx
=
index
(
"idx_files"
,
(
runId
,
pipelineId
,
sampleId
,
libraryId
,
key
),
unique
=
true
)
}
val
files
=
TableQuery
[
Files
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment