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
525aaadf
Commit
525aaadf
authored
6 years ago
by
James Allen
Browse files
Options
Downloads
Patches
Plain Diff
Consistently use TINYINT rather than BOOLEAN
parent
7ddb8251
No related branches found
Branches containing commit
No related tags found
Tags containing commit
6 merge requests
!317
Xref parser mgiparser_ccds
,
!318
Standardise table.sql file
,
!342
Feature/schema update 96
,
!342
Feature/schema update 96
,
!318
Standardise table.sql file
,
!317
Xref parser mgiparser_ccds
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/table.sql
+6
-6
6 additions, 6 deletions
sql/table.sql
with
6 additions
and
6 deletions
sql/table.sql
+
6
−
6
View file @
525aaadf
...
...
@@ -581,7 +581,7 @@ CREATE TABLE IF NOT EXISTS analysis_description (
analysis_id
SMALLINT
UNSIGNED
NOT
NULL
,
description
TEXT
,
display_label
VARCHAR
(
255
)
NOT
NULL
,
displayable
BOOLEAN
NOT
NULL
DEFAULT
1
,
displayable
TINYINT
NOT
NULL
DEFAULT
1
,
web_data
TEXT
,
UNIQUE
KEY
analysis_idx
(
analysis_id
)
...
...
@@ -736,8 +736,8 @@ CREATE TABLE exon (
phase
TINYINT
(
2
)
NOT
NULL
,
end_phase
TINYINT
(
2
)
NOT
NULL
,
is_current
BOOLEAN
NOT
NULL
DEFAULT
1
,
is_constitutive
BOOLEAN
NOT
NULL
DEFAULT
0
,
is_current
TINYINT
NOT
NULL
DEFAULT
1
,
is_constitutive
TINYINT
NOT
NULL
DEFAULT
0
,
stable_id
VARCHAR
(
128
)
DEFAULT
NULL
,
version
SMALLINT
UNSIGNED
DEFAULT
NULL
,
...
...
@@ -818,7 +818,7 @@ CREATE TABLE gene (
display_xref_id
INT
(
10
)
UNSIGNED
,
source
VARCHAR
(
40
)
NOT
NULL
,
description
TEXT
,
is_current
BOOLEAN
NOT
NULL
DEFAULT
1
,
is_current
TINYINT
NOT
NULL
DEFAULT
1
,
canonical_transcript_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
stable_id
VARCHAR
(
128
)
DEFAULT
NULL
,
version
SMALLINT
UNSIGNED
DEFAULT
NULL
,
...
...
@@ -1040,7 +1040,7 @@ CREATE TABLE transcript (
source
VARCHAR
(
40
)
NOT
NULL
default
'ensembl'
,
biotype
VARCHAR
(
40
)
NOT
NULL
,
description
TEXT
,
is_current
BOOLEAN
NOT
NULL
DEFAULT
1
,
is_current
TINYINT
NOT
NULL
DEFAULT
1
,
canonical_translation_id
INT
(
10
)
UNSIGNED
,
stable_id
VARCHAR
(
128
)
DEFAULT
NULL
,
version
SMALLINT
UNSIGNED
DEFAULT
NULL
,
...
...
@@ -1358,7 +1358,7 @@ CREATE TABLE intron_supporting_evidence (
hit_name
VARCHAR
(
100
)
NOT
NULL
,
score
DECIMAL
(
10
,
3
),
score_type
ENUM
(
'NONE'
,
'DEPTH'
)
DEFAULT
'NONE'
,
is_splice_canonical
BOOLEAN
NOT
NULL
DEFAULT
0
,
is_splice_canonical
TINYINT
NOT
NULL
DEFAULT
0
,
PRIMARY
KEY
(
intron_supporting_evidence_id
),
...
...
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