Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
270606e9
Commit
270606e9
authored
16 years ago
by
Andreas Kusalananda Kähäri
Browse files
Options
Downloads
Patches
Plain Diff
Update test table schemas for 'meta' and 'coord_system' tables using
current ensembl/sql/table.sql.
parent
d2a948f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/t/test-genome-DBs/homo_sapiens/core/coord_system.sql
+14
-10
14 additions, 10 deletions
modules/t/test-genome-DBs/homo_sapiens/core/coord_system.sql
modules/t/test-genome-DBs/homo_sapiens/core/meta.sql
+11
-8
11 additions, 8 deletions
modules/t/test-genome-DBs/homo_sapiens/core/meta.sql
with
25 additions
and
18 deletions
modules/t/test-genome-DBs/homo_sapiens/core/coord_system.sql
+
14
−
10
View file @
270606e9
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
11
)
NOT
NULL
auto_increment
,
`name`
varchar
(
40
)
collate
latin1_bin
NOT
NULL
default
''
,
`version`
varchar
(
40
)
collate
latin1_bin
default
NULL
,
`rank`
int
(
11
)
NOT
NULL
default
'0'
,
`attrib`
set
(
'default_version'
,
'sequence_level'
)
collate
latin1_bin
default
NULL
,
PRIMARY
KEY
(
`coord_system_id`
),
UNIQUE
KEY
`rank`
(
`rank`
),
UNIQUE
KEY
`name`
(
`name`
,
`version`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
coord_system
(
coord_system_id
INT
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
species_id
INT
(
10
)
UNSIGNED
NOT
NULL
DEFAULT
1
,
name
VARCHAR
(
40
)
NOT
NULL
,
version
VARCHAR
(
40
)
DEFAULT
NULL
,
rank
INT
NOT
NULL
,
attrib
SET
(
'default_version'
,
'sequence_level'
),
PRIMARY
KEY
(
coord_system_id
),
UNIQUE
KEY
rank_idx
(
rank
,
species_id
),
UNIQUE
KEY
name_idx
(
name
,
version
,
species_id
),
KEY
species_idx
(
species_id
)
)
COLLATE
=
latin1_swedish_ci
TYPE
=
MyISAM
;
This diff is collapsed.
Click to expand it.
modules/t/test-genome-DBs/homo_sapiens/core/meta.sql
+
11
−
8
View file @
270606e9
CREATE
TABLE
`meta`
(
`meta_id`
int
(
11
)
NOT
NULL
auto_increment
,
`meta_key`
varchar
(
40
)
collate
latin1_bin
NOT
NULL
default
''
,
`meta_value`
varchar
(
255
)
collate
latin1_bin
NOT
NULL
default
''
,
PRIMARY
KEY
(
`meta_id`
),
KEY
`meta_key_index`
(
`meta_key`
),
KEY
`meta_value_index`
(
`meta_value`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
meta
(
meta_id
INT
NOT
NULL
AUTO_INCREMENT
,
species_id
INT
UNSIGNED
DEFAULT
1
,
meta_key
VARCHAR
(
40
)
NOT
NULL
,
meta_value
VARCHAR
(
255
)
NOT
NULL
,
PRIMARY
KEY
(
meta_id
),
UNIQUE
KEY
species_key_value_idx
(
species_id
,
meta_key
,
meta_value
),
KEY
species_value_idx
(
species_id
,
meta_value
)
)
COLLATE
=
latin1_swedish_ci
TYPE
=
MyISAM
;
This diff is collapsed.
Click to expand it.
Preview
0%
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