text: # Generated by Django 3.1.8 on 2021-04-19 13:53
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('django_celery_beat', '0015_edit_solarschedule_events_choices'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Workflow',
              fields=[
                  ('periodictask_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='django_celery_beat.periodictask')),
                  ('dependsOnWorkflowStatus', models.CharField(default='success', max_length=50)),
                  ('dependsOnWorkflow', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='workflows.workflow')),
              ],
              bases=('django_celery_beat.periodictask',),
          ),
          migrations.CreateModel(
              name='WorkflowRun',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('status', models.CharField(default='success', max_length=50)),
                  ('startTimestamp', models.DateTimeField(auto_now_add=True)),
                  ('endTimestamp', models.DateTimeField(default=None, null=True)),
                  ('workflow', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='workflows.workflow')),
              ],
          ),
          migrations.CreateModel(
              name='NotebookJob',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('notebookId', models.CharField(default='000000000', max_length=20)),
                  ('workflow', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='workflows.workflow')),
              ],
          ),
      ]
  