academon/core/migrations/0008_vesselalias.py
2022-09-20 14:02:39 +00:00

22 lines
704 B
Python

# Generated by Django 4.1.1 on 2022-09-20 12:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0007_replicationfile_replicationsource_replicationtarget_and_more'),
]
operations = [
migrations.CreateModel(
name='VesselAlias',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('alias', models.CharField(max_length=64)),
('vessel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.vessel')),
],
),
]