Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
984f64c2
Commit
984f64c2
authored
May 28, 2012
by
Leo Gordon
Browse files
schema change to allow any short string for meadow_type
parent
519c6e33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
sql/patch_2012-05-28.sql
sql/patch_2012-05-28.sql
+5
-0
sql/tables.sql
sql/tables.sql
+2
-2
No files found.
sql/patch_2012-05-28.sql
0 → 100644
View file @
984f64c2
-- Relax the meadow_type field to take any short string - to better support external Meadows:
ALTER
TABLE
worker
MODIFY
COLUMN
meadow_type
VARCHAR
(
40
);
ALTER
TABLE
resource_description
MODIFY
COLUMN
meadow_type
VARCHAR
(
40
);
sql/tables.sql
View file @
984f64c2
...
...
@@ -107,7 +107,7 @@ CREATE TABLE IF NOT EXISTS analysis_description (
CREATE
TABLE
worker
(
worker_id
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
analysis_id
int
(
10
)
unsigned
NOT
NULL
,
meadow_type
enum
(
'LSF'
,
'LOCAL'
)
NOT
NULL
,
meadow_type
varchar
(
40
)
NOT
NULL
,
meadow_name
varchar
(
40
)
DEFAULT
NULL
,
host
varchar
(
40
)
DEFAULT
NULL
,
process_id
varchar
(
40
)
DEFAULT
NULL
,
...
...
@@ -331,7 +331,7 @@ CREATE TABLE analysis_data (
CREATE
TABLE
resource_description
(
rc_id
int
(
10
)
unsigned
DEFAULT
0
NOT
NULL
,
meadow_type
enum
(
'LSF'
,
'LOCAL'
)
DEFAULT
'LSF'
NOT
NULL
,
meadow_type
varchar
(
40
)
NOT
NULL
,
parameters
varchar
(
255
)
DEFAULT
''
NOT
NULL
,
description
varchar
(
255
),
PRIMARY
KEY
(
rc_id
,
meadow_type
)
...
...
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