Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
3689e89d
Commit
3689e89d
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
optimize and migrate Disease data
disease rows are now unique and managed with a manytomany field fixes #19
parent
078c3cbe
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
ippisite/ippidb/migrations/0013_auto_20170518_1943.py
+34
-0
34 additions, 0 deletions
ippisite/ippidb/migrations/0013_auto_20170518_1943.py
with
34 additions
and
0 deletions
ippisite/ippidb/migrations/0013_auto_20170518_1943.py
0 → 100644
+
34
−
0
View file @
3689e89d
# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-05-18 19:43
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'
ippidb
'
,
'
0012_auto_20170518_1913
'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'
disease
'
,
name
=
'
disease_name
'
,
),
migrations
.
RemoveField
(
model_name
=
'
disease
'
,
name
=
'
ppi
'
,
),
migrations
.
AddField
(
model_name
=
'
disease
'
,
name
=
'
name
'
,
field
=
models
.
CharField
(
default
=
None
,
max_length
=
30
,
unique
=
True
,
verbose_name
=
'
Disease
'
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'
ppi
'
,
name
=
'
diseases
'
,
field
=
models
.
ManyToManyField
(
to
=
'
ippidb.Disease
'
),
),
]
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