ENH: collections - rename flaws and add notes (#41)
This commit is contained in:
parent
2ac50967bb
commit
3b7e07bc28
5 changed files with 48 additions and 6 deletions
20
ccdb/collections_ccdb/migrations/0005_rename_flaws_field.py
Normal file
20
ccdb/collections_ccdb/migrations/0005_rename_flaws_field.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.8 on 2017-12-04 12:43
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('collections_ccdb', '0004_DATA_reset_sequences'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='collection',
|
||||
old_name='flaw',
|
||||
new_name='collection_flaw',
|
||||
),
|
||||
]
|
20
ccdb/collections_ccdb/migrations/0006_collection_notes.py
Normal file
20
ccdb/collections_ccdb/migrations/0006_collection_notes.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.8 on 2017-12-04 12:51
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('collections_ccdb', '0005_rename_flaws_field'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='collection',
|
||||
name='notes',
|
||||
field=models.TextField(blank=True),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue