Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rvdb-prot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas BIGOT
rvdb-prot
Commits
d1c156f4
Commit
d1c156f4
authored
8 years ago
by
Thomas BIGOT
Browse files
Options
Downloads
Patches
Plain Diff
added Annotation schema to initialize the sqlite DB
parent
2a373dfa
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
annotate/annotations_schema.sql
+28
-0
28 additions, 0 deletions
annotate/annotations_schema.sql
with
28 additions
and
0 deletions
annotate/annotations_schema.sql
0 → 100644
+
28
−
0
View file @
d1c156f4
CREATE
TABLE
family
(
id
INTEGER
PRIMARY
KEY
,
size
INTEGER
,
nbseq
INTEGER
,
LCAtaxid
INTEGER
);
CREATE
TABLE
keyword
(
id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
,
str
CHAR
(
30
)
UNIQUE
);
CREATE
TABLE
fam_kw
(
famId
INTEGER
,
kwId
INTEGER
,
frequency
INTEGER
,
FOREIGN
KEY
(
famId
)
REFERENCES
family
(
id
),
FOREIGN
KEY
(
kwId
)
REFERENCES
keyword
(
id
),
PRIMARY
KEY
(
famId
,
kwId
)
);
CREATE
TABLE
fam_tax
(
famId
INTEGER
,
taxid
INTEGER
,
freq
INTEGER
,
PRIMARY
KEY
(
famId
,
taxid
),
FOREIGN
KEY
(
famId
)
REFERENCES
family
(
id
)
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment