Added term date
This commit is contained in:
parent
33140dde73
commit
758ab26526
18
migratorapi/api/migrations/0010_migration_term_date.py
Normal file
18
migratorapi/api/migrations/0010_migration_term_date.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.2 on 2020-10-22 22:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0009_migration_is_urgent'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='migration',
|
||||
name='term_date',
|
||||
field=models.DateField(blank=True, null=True, verbose_name='Date to be terminated'),
|
||||
),
|
||||
]
|
||||
@ -23,6 +23,8 @@ class Migration(models.Model):
|
||||
additional_domains = models.CharField(
|
||||
max_length=500, null=True, blank=True)
|
||||
migration_type = models.CharField(max_length=200)
|
||||
term_date = models.DateField(
|
||||
'Date to be terminated', null=True, blank=True)
|
||||
is_urgent = models.BooleanField(default=False)
|
||||
|
||||
def print_missed_migrations(self):
|
||||
|
||||
Reference in New Issue
Block a user