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
cb9d3f73
Commit
cb9d3f73
authored
18 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Change types of analysis_id and external_db_id columns.
parent
c7ca81ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/patch_43_44_a.sql
+34
-0
34 additions, 0 deletions
sql/patch_43_44_a.sql
with
34 additions
and
0 deletions
sql/patch_43_44_a.sql
0 → 100644
+
34
−
0
View file @
cb9d3f73
#
patch_43_44_a
#
#
title
:
Key
column
types
#
#
description
:
#
Change
the
types
of
some
columns
to
make
them
more
appropriate
to
the
values
they
store
.
ALTER
TABLE
analysis
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
ALTER
TABLE
oligo_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
analysis_description
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
simple_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
protein_align_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
dna_align_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
repeat_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
gene
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
transcript
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
protein_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
identity_xref
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
prediction_transcript
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
marker_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
qtl_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
density_type
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
regulatory_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
regulatory_search_region
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
unmapped_object
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
ditag_feature
CHANGE
COLUMN
analysis_id
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
external_db
CHANGE
COLUMN
external_db_id
external_db_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
xref
CHANGE
COLUMN
external_db_id
external_db_id
SMALLINT
UNSIGNED
NOT
NULL
;
ALTER
TABLE
unmapped_object
CHANGE
COLUMN
external_db_id
external_db_id
SMALLINT
UNSIGNED
NOT
NULL
;
#
patch
identifier
INSERT
INTO
meta
(
meta_key
,
meta_value
)
VALUES
(
'patch'
,
'patch_43_44_a.sql|rationalise_key_columns'
);
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