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
ff3d42d6
Commit
ff3d42d6
authored
16 years ago
by
Daniel Rios
Browse files
Options
Downloads
Patches
Plain Diff
new tables to handle user upload data
parent
696e6fc6
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
sql/patch_49_50_e.sql
+44
-0
44 additions, 0 deletions
sql/patch_49_50_e.sql
sql/table.sql
+31
-0
31 additions, 0 deletions
sql/table.sql
with
75 additions
and
0 deletions
sql/patch_49_50_e.sql
0 → 100644
+
44
−
0
View file @
ff3d42d6
#
patch_49_50_e
.
sql
#
#
title
:
Create
tables
for
new
mapping_seq_region
tables
#
#
Description
:
Creates
two
new
tables
,
seq_region_mapping
and
mapping_seq
that
will
allow
to
upload
user
data
and
be
able
to
map
it
#
even
there
is
a
change
of
seq_region
in
a
previous
release
################################################################################
#
#
Table
structure
for
seq_region
mapping
between
releases
#
#
Stores
how
the
core
seq_region_id
have
changed
from
release
to
release
CREATE
TABLE
seq_region_mapping
(
external_seq_region_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
internal_seq_region_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
mapping_set_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
KEY
(
mapping_set_id
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
################################################################################
#
#
Table
structure
for
seq_region
mapping
between
releases
#
#
Stores
how
which
mapping
group
the
seq_region
are
for
a
particular
schema
CREATE
TABLE
mapping_set
(
mapping_set_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
schema_build
VARCHAR
(
20
)
NOT
NULL
,
PRIMARY
KEY
(
schema_build
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
#
Patch
identifier
INSERT
INTO
meta
(
meta_key
,
meta_value
)
VALUES
(
'patch'
,
'patch_49_50_e.sql|mapping_seq_region'
);
This diff is collapsed.
Click to expand it.
sql/table.sql
+
31
−
0
View file @
ff3d42d6
...
...
@@ -1515,3 +1515,34 @@ CREATE TABLE unconventional_transcript_association (
KEY
(
gene_id
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
################################################################################
#
#
Table
structure
for
seq_region
mapping
between
releases
#
#
Stores
how
the
core
seq_region_id
have
changed
from
release
to
release
CREATE
TABLE
seq_region_mapping
(
external_seq_region_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
internal_seq_region_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
mapping_set_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
KEY
(
mapping_set_id
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
################################################################################
#
#
Table
structure
for
seq_region
mapping
between
releases
#
#
Stores
how
which
mapping
group
the
seq_region
are
for
a
particular
schema
CREATE
TABLE
mapping_set
(
mapping_set_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
schema_build
VARCHAR
(
20
)
NOT
NULL
,
PRIMARY
KEY
(
schema_build
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
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