Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
b2fb955f
Commit
b2fb955f
authored
May 01, 2013
by
Leo Gordon
Browse files
added a patch to add 'accu' table to an existing database & fixed sqlite schema
parent
675c1731
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
sql/patch_2013-05-01.sql
sql/patch_2013-05-01.sql
+11
-0
sql/tables.sqlite
sql/tables.sqlite
+13
-1
No files found.
sql/patch_2013-05-01.sql
0 → 100644
View file @
b2fb955f
#
adding
a
new
table
for
accumulated
dataflow
:
CREATE
TABLE
accu
(
sending_job_id
int
(
10
),
receiving_job_id
int
(
10
)
NOT
NULL
,
struct_name
varchar
(
255
)
NOT
NULL
,
key_signature
varchar
(
255
)
NOT
NULL
,
value
varchar
(
255
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
InnoDB
;
sql/tables.sqlite
View file @
b2fb955f
...
...
@@ -35,7 +35,7 @@ CREATE INDEX IF NOT EXISTS species_value_idx ON meta (species_id, met
-- can_be_empty - if TRUE, this Analysis will not be blocking if/while it doesn't have any jobs
-- priority - an Analysis with higher priority will be more likely chosen on Worker's specialization
CREATE TABLE
IF NOT EXISTS
analysis_base (
CREATE TABLE analysis_base (
analysis_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
logic_name VARCHAR(40) NOT NULL,
module VARCHAR(255),
...
...
@@ -279,6 +279,18 @@ CREATE TABLE analysis_data (
CREATE INDEX IF NOT EXISTS data_idx ON analysis_data (data);
CREATE TABLE accu (
sending_job_id int(10),
receiving_job_id int(10) NOT NULL,
struct_name varchar(255) NOT NULL,
key_signature varchar(255) NOT NULL,
value varchar(255)
);
CREATE INDEX IF NOT EXISTS sending_idx ON accu (sending_job_id);
CREATE INDEX IF NOT EXISTS receiving_idx ON accu (receiving_job_id);
CREATE TABLE resource_class (
resource_class_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name varchar(40) NOT NULL
...
...
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