106 lines
4.1 KiB
Python
106 lines
4.1 KiB
Python
# Generated by Django 2.2.1 on 2019-06-22 17:46
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import port.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('port', '0003_auto_20190608_1839'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='sailson',
|
|
name='present',
|
|
field=models.BooleanField(default=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='address',
|
|
name='address',
|
|
field=models.CharField(default='miss_add', max_length=200),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='address',
|
|
name='city',
|
|
field=models.CharField(default='miss_city', max_length=200),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='address',
|
|
name='zip_code',
|
|
field=models.CharField(default='miss_zip', max_length=10),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='beam',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='boat_insurance',
|
|
field=models.ManyToManyField(blank=True, through='port.BoatInsurance', to='port.Insurance'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='length',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive], verbose_name='Length'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='tonnage',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='water_draught',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='boat',
|
|
name='water_tank',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive], verbose_name='Water tank capacity'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='company',
|
|
name='name',
|
|
field=models.CharField(blank=True, max_length=50),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='dock',
|
|
name='depth_max',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='dock',
|
|
name='depth_min',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='dock',
|
|
name='length',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='dock',
|
|
name='width',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=7, null=True, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='employee',
|
|
name='port',
|
|
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, to='port.Port'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='plug',
|
|
name='amperage',
|
|
field=models.DecimalField(decimal_places=2, max_digits=7, validators=[port.models.validate_positive]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='plug',
|
|
name='voltage',
|
|
field=models.DecimalField(decimal_places=2, max_digits=7, validators=[port.models.validate_positive]),
|
|
),
|
|
]
|