gpp/port/migrations/0002_auto_20190607_1129.py

66 lines
1.9 KiB
Python
Raw Permalink Normal View History

2019-06-08 13:08:57 +02:00
# Generated by Django 2.2.1 on 2019-06-07 09:29
from django.db import migrations, models
import django_countries.fields
import phonenumber_field.modelfields
class Migration(migrations.Migration):
dependencies = [
('port', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='dock',
old_name='depth',
new_name='depth_max',
),
migrations.RenameField(
model_name='dock',
old_name='num',
new_name='name',
),
migrations.RenameField(
model_name='plug',
old_name='num',
new_name='name',
),
migrations.RenameField(
model_name='tap',
old_name='num',
new_name='name',
),
migrations.AddField(
model_name='billline',
name='value',
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=7),
),
migrations.AddField(
model_name='dock',
name='depth_min',
field=models.DecimalField(decimal_places=2, max_digits=7, null=True),
),
migrations.AlterField(
model_name='address',
name='country',
field=django_countries.fields.CountryField(max_length=2),
),
migrations.AlterField(
model_name='company',
name='phone',
field=phonenumber_field.modelfields.PhoneNumberField(max_length=128, null=True, region=None),
),
migrations.AlterField(
model_name='person',
name='nationality',
field=django_countries.fields.CountryField(max_length=2, null=True),
),
migrations.AlterField(
model_name='person',
name='phone',
field=phonenumber_field.modelfields.PhoneNumberField(max_length=128, null=True, region=None),
),
]