fc700d104298c55af1fd0204f29a0326ed894c3a
[laas.git] / src / account / migrations / 0004_downtime.py
1 # Generated by Django 2.2 on 2019-08-13 16:45
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('account', '0003_publicnetwork'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Downtime',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('start', models.DateTimeField()),
19                 ('end', models.DateTimeField()),
20                 ('description', models.TextField(default='This lab will be down for maintenance')),
21                 ('lab', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Lab')),
22             ],
23         ),
24     ]