recipe.migrations package

Submodules

recipe.migrations.0001_initial module

class recipe.migrations.0001_initial.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0001_initial'), (u'trigger', u'0001_initial')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'data', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'completed', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'event', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe'}, name=u'Recipe'>, <CreateModel fields=[(u'job', <django.db.models.fields.related.OneToOneField>), (u'job_name', <django.db.models.fields.CharField>), (u'recipe', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe_job'}, name=u'RecipeJob'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'name', <django.db.models.fields.CharField>), (u'version', <django.db.models.fields.CharField>), (u'title', <django.db.models.fields.CharField>), (u'description', <django.db.models.fields.CharField>), (u'is_active', <django.db.models.fields.BooleanField>), (u'definition', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'archived', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe_type'}, name=u'RecipeType'>, <AlterUniqueTogether unique_together=set([(u'name', u'version')]), name=u'recipetype'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'recipe_type', model_name=u'recipe'>]

recipe.migrations.0002_auto_20151106_1409 module

class recipe.migrations.0002_auto_20151106_1409.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0001_initial')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'revision_num', <django.db.models.fields.IntegerField>), (u'definition', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'recipe_type', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe_type_revision'}, name=u'RecipeTypeRevision'>, <AlterUniqueTogether unique_together=set([(u'recipe_type', u'revision_num')]), name=u'recipetyperevision'>]

recipe.migrations.0003_recipe_recipe_type_rev module

class recipe.migrations.0003_recipe_recipe_type_rev.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0002_auto_20151106_1409')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=False, name=u'recipe_type_rev', model_name=u'recipe'>]

recipe.migrations.0004_recipetype_trigger_rule module

class recipe.migrations.0004_recipetype_trigger_rule.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'trigger', u'0001_initial'), (u'recipe', u'0003_recipe_recipe_type_rev')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'trigger_rule', model_name=u'recipetype'>]

recipe.migrations.0005_recipetype_revision_num module

class recipe.migrations.0005_recipetype_revision_num.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0004_recipetype_trigger_rule')]
operations = [<AddField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'revision_num', model_name=u'recipetype'>]

recipe.migrations.0006_auto_20151125_1404 module

class recipe.migrations.0006_auto_20151125_1404.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0005_recipetype_revision_num')]
operations = [<AlterField field=<django.db.models.fields.CharField>, preserve_default=False, name=u'title', model_name=u'recipetype'>]

recipe.migrations.0007_auto_20160310_1318 module

class recipe.migrations.0007_auto_20160310_1318.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0006_auto_20151125_1404')]
operations = [<AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'last_modified', model_name=u'recipe'>]

recipe.migrations.0008_auto_20160317_1208 module

class recipe.migrations.0008_auto_20160317_1208.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0007_auto_20160310_1318')]
operations = [<AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'last_modified', model_name=u'recipe'>, <AlterIndexTogether name=u'recipe', index_together=set([(u'last_modified', u'recipe_type')])>]

recipe.migrations.0009_auto_20160511_2204 module

class recipe.migrations.0009_auto_20160511_2204.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0008_auto_20160317_1208')]
operations = [<AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'description', model_name=u'recipetype'>, <AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'title', model_name=u'recipetype'>]

recipe.migrations.0010_auto_20160330_1412 module

class recipe.migrations.0010_auto_20160330_1412.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0009_auto_20160511_2204')]
operations = [<AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_superseded', model_name=u'recipe'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'root_superseded_recipe', model_name=u'recipe'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'superseded', model_name=u'recipe'>, <AddField field=<django.db.models.fields.related.OneToOneField>, preserve_default=True, name=u'superseded_recipe', model_name=u'recipe'>]

recipe.migrations.0011_auto_20160330_1505 module

class recipe.migrations.0011_auto_20160330_1505.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0010_auto_20160330_1412')]
operations = [<RenameModel new_name=u'recipejobold', old_name=u'recipejob'>, <AlterModelTable table=u'recipe_job_old', name=u'recipejobold'>]

recipe.migrations.0012_auto_20160330_1659 module

class recipe.migrations.0012_auto_20160330_1659.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0014_auto_20160317_1208'), (u'recipe', u'0011_auto_20160330_1505')]
operations = [<AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'recipe', model_name=u'recipejobold'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'job_name', <django.db.models.fields.CharField>), (u'is_original', <django.db.models.fields.BooleanField>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'recipe', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe_job'}, name=u'RecipeJob'>]

recipe.migrations.0013_auto_20160331_1127 module

class recipe.migrations.0013_auto_20160331_1127.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0012_auto_20160330_1659')]
operations = [<RunPython <function populate_recipe_job>>]
populate_recipe_job(apps, schema_editor)

recipe.migrations.0014_auto_20160608_1402 module

class recipe.migrations.0014_auto_20160608_1402.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0013_auto_20160331_1127')]
operations = [<RemoveField name=u'job', model_name=u'recipejobold'>, <RemoveField name=u'recipe', model_name=u'recipejobold'>, <DeleteModel name=u'recipejobold'>]

recipe.migrations.0015_recipefile module

class recipe.migrations.0015_recipefile.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'storage', u'0002_workspace_is_move_enabled'), (u'recipe', u'0014_auto_20160608_1402')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'created', <django.db.models.fields.DateTimeField>), (u'recipe', <django.db.models.fields.related.ForeignKey>), (u'scale_file', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'recipe_file'}, name=u'RecipeFile'>]

recipe.migrations.0016_recipefile_data module

class recipe.migrations.0016_recipefile_data.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'storage', u'0002_workspace_is_move_enabled'), (u'recipe', u'0015_recipefile')]
operations = [<RunPython <function populate_recipe_file>>]
populate_recipe_file(apps, schema_editor)

recipe.migrations.0017_auto_20170412_1225 module

class recipe.migrations.0017_auto_20170412_1225.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0016_recipefile_data')]
operations = [<AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'data', model_name=u'recipe'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'definition', model_name=u'recipetype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'definition', model_name=u'recipetyperevision'>]

recipe.migrations.0018_recipefile_recipe_input module

class recipe.migrations.0018_recipefile_recipe_input.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0017_auto_20170412_1225')]
operations = [<RenameModel u'RecipeFile', u'RecipeInputFile'>, <AlterModelTable u'RecipeInputFile', u'recipe_input_file'>, <AddField field=<django.db.models.fields.CharField>, name=u'recipe_input', model_name=u'recipeinputfile'>]

recipe.migrations.0019_recipetype_is_system module

class recipe.migrations.0019_recipetype_is_system.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0018_recipefile_recipe_input')]
operations = [<AddField field=<django.db.models.fields.BooleanField>, name=u'is_system', model_name=u'recipetype'>]

recipe.migrations.0020_auto_20180119_0055 module

class recipe.migrations.0020_auto_20180119_0055.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0019_recipetype_is_system')]
operations = [<RenameField new_name=u'input', model_name=u'recipe', old_name=u'data'>]

recipe.migrations.0020_recipe_batch module

class recipe.migrations.0020_recipe_batch.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'batch', u'0004_auto_20180122_1444'), (u'recipe', u'0020_auto_20180119_0055')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'recipe'>]

recipe.migrations.0021_auto_20180219_1916 module

class recipe.migrations.0021_auto_20180219_1916.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0020_recipe_batch')]
operations = [<AddField field=<django.db.models.fields.FloatField>, name=u'input_file_size', model_name=u'recipe'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'source_ended', model_name=u'recipe'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'source_started', model_name=u'recipe'>]

recipe.migrations.0022_auto_20180307_1617 module

class recipe.migrations.0022_auto_20180307_1617.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0021_auto_20180219_1916')]
operations = [<AddField field=<django.db.models.fields.BooleanField>, name=u'is_completed', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_blocked', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_canceled', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_completed', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_failed', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_pending', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_queued', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_running', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_total', model_name=u'recipe'>]

recipe.migrations.0023_auto_20180523_1247 module

class recipe.migrations.0023_auto_20180523_1247.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0022_auto_20180307_1617')]
operations = [<RenameModel new_name=u'RecipeNode', old_name=u'RecipeJob'>, <AlterModelTable table=u'recipe_node', name=u'recipenode'>]

recipe.migrations.0024_auto_20180523_2057 module

class recipe.migrations.0024_auto_20180523_2057.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0023_auto_20180523_1247')]
operations = [<RenameField new_name=u'node_name', model_name=u'recipenode', old_name=u'job_name'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'sub_recipe', model_name=u'recipenode'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'job', model_name=u'recipenode'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe', model_name=u'recipenode'>]

recipe.migrations.0025_auto_20180608_0114 module

class recipe.migrations.0025_auto_20180608_0114.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0024_auto_20180523_2057')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe', model_name=u'recipe'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'root_recipe', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'sub_recipes_completed', model_name=u'recipe'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'sub_recipes_total', model_name=u'recipe'>]

recipe.migrations.0026_auto_20180723_1914 module

class recipe.migrations.0026_auto_20180723_1914.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0025_auto_20180608_0114')]
operations = [<RenameField new_name=u'input_file', model_name=u'recipeinputfile', old_name=u'scale_file'>]

recipe.migrations.0027_auto_20181008_1756 module

class recipe.migrations.0027_auto_20181008_1756.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0026_auto_20180723_1914')]
operations = [<AddField field=<django.db.models.fields.TextField>, name=u'source_collection', model_name=u'recipe'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor', model_name=u'recipe'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor_class', model_name=u'recipe'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_task', model_name=u'recipe'>, <AlterField field=<django.db.models.fields.DateTimeField>, name=u'source_ended', model_name=u'recipe'>, <AlterField field=<django.db.models.fields.DateTimeField>, name=u'source_started', model_name=u'recipe'>]

recipe.migrations.0027_auto_20181016_1344 module

class recipe.migrations.0027_auto_20181016_1344.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0027_auto_20181008_1756')]
operations = [<AlterUniqueTogether unique_together=set([]), name=u'recipetype'>]

recipe.migrations.0028_auto_20181016_1349 module

class recipe.migrations.0028_auto_20181016_1349.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0027_auto_20181016_1344')]
operations = [<RunPython <function populate_recipe_file>>]
recipe.migrations.0028_auto_20181016_1349.populate_recipe_file(apps, schema_editor)

recipe.migrations.0029_auto_20181016_1431 module

class recipe.migrations.0029_auto_20181016_1431.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0028_auto_20181016_1349')]
operations = [<AlterField field=<django.db.models.fields.CharField>, name=u'name', model_name=u'recipetype'>]

recipe.migrations.0030_auto_20181024_1607 module

class recipe.migrations.0030_auto_20181024_1607.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'batch', u'0007_auto_20180516_1915'), (u'recipe', u'0029_auto_20181016_1431')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'data', <django.contrib.postgres.fields.jsonb.JSONField>), (u'is_processed', <django.db.models.fields.BooleanField>), (u'is_accepted', <django.db.models.fields.BooleanField>), (u'created', <django.db.models.fields.DateTimeField>), (u'processed', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'batch', <django.db.models.fields.related.ForeignKey>), (u'recipe', <django.db.models.fields.related.ForeignKey>), (u'root_recipe', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'recipe_condition'}, name=u'RecipeCondition'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'condition', model_name=u'recipenode'>]

recipe.migrations.0031_auto_20181026_1417 module

class recipe.migrations.0031_auto_20181026_1417.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0049_auto_20180927_1531'), (u'recipe', u'0030_auto_20181024_1607')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'job_type', <django.db.models.fields.related.ForeignKey>), (u'recipe_type', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'recipe_type_job_link'}, name=u'RecipeTypeJobLink'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'recipe_type', <django.db.models.fields.related.ForeignKey>), (u'sub_recipe_type', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'recipe_type_sub_link'}, name=u'RecipeTypeSubLink'>, <AlterUniqueTogether unique_together=set([(u'recipe_type', u'sub_recipe_type')]), name=u'recipetypesublink'>, <AlterUniqueTogether unique_together=set([(u'recipe_type', u'job_type')]), name=u'recipetypejoblink'>]

recipe.migrations.0033_auto_20181102_0307 module

class recipe.migrations.0033_auto_20181102_0307.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0032_recipe_type_link_tables')]
operations = [<RenameField new_name=u'deprecated', model_name=u'recipetype', old_name=u'archived'>]

recipe.migrations.0034_recipe_configuration module

class recipe.migrations.0034_recipe_configuration.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0033_auto_20181102_0307')]
operations = [<AddField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'recipe'>]

recipe.migrations.0035_auto_20190126_2340 module

class recipe.migrations.0035_auto_20190126_2340.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0015_ingestevent'), (u'recipe', u'0034_recipe_configuration')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'ingest_event', model_name=u'recipe'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'event', model_name=u'recipe'>]

recipe.migrations.0036_remove_recipetype_version module

class recipe.migrations.0036_remove_recipetype_version.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0035_auto_20190126_2340')]
operations = [<RemoveField name=u'version', model_name=u'recipetype'>]

recipe.migrations.0037_remove_recipetype_trigger_rule module

class recipe.migrations.0037_remove_recipetype_trigger_rule.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'recipe', u'0036_remove_recipetype_version')]
operations = [<RemoveField name=u'trigger_rule', model_name=u'recipetype'>]

Module contents