batch.migrations package¶
Submodules¶
batch.migrations.0001_initial module¶
-
class
batch.migrations.0001_initial.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'trigger', u'0004_auto_20151207_1215'), (u'job', u'0019_taskupdate'), (u'recipe', u'0014_auto_20160608_1402')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'title', <django.db.models.fields.CharField>), (u'description', <django.db.models.fields.TextField>), (u'status', <django.db.models.fields.CharField>), (u'definition', <util.deprecation.JSONStringField>), (u'created_count', <django.db.models.fields.IntegerField>), (u'failed_count', <django.db.models.fields.IntegerField>), (u'total_count', <django.db.models.fields.IntegerField>), (u'created', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'creator_job', <django.db.models.fields.related.ForeignKey>), (u'event', <django.db.models.fields.related.ForeignKey>), (u'recipe_type', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'batch'}, name=u'Batch'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'created', <django.db.models.fields.DateTimeField>), (u'batch', <django.db.models.fields.related.ForeignKey>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'superseded_job', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'batch_job'}, name=u'BatchJob'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'created', <django.db.models.fields.DateTimeField>), (u'batch', <django.db.models.fields.related.ForeignKey>), (u'recipe', <django.db.models.fields.related.ForeignKey>), (u'superseded_recipe', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'batch_recipe'}, name=u'BatchRecipe'>]¶
-
batch.migrations.0002_auto_20170412_1225 module¶
batch.migrations.0003_auto_20170706_1948 module¶
-
class
batch.migrations.0003_auto_20170706_1948.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0002_auto_20170412_1225')]¶
-
operations
= [<AddField field=<django.db.models.fields.IntegerField>, name=u'completed_job_count', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'completed_recipe_count', model_name=u'batch'>]¶
-
batch.migrations.0004_auto_20180122_1444 module¶
-
class
batch.migrations.0004_auto_20180122_1444.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0003_auto_20170706_1948')]¶
-
operations
= [<AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'creator_job', model_name=u'batch'>]¶
-
batch.migrations.0005_auto_20180314_1827 module¶
-
class
batch.migrations.0005_auto_20180314_1827.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0004_auto_20180122_1444')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'job_name', <django.db.models.fields.CharField>), (u'jobs_total', <django.db.models.fields.IntegerField>), (u'jobs_pending', <django.db.models.fields.IntegerField>), (u'jobs_blocked', <django.db.models.fields.IntegerField>), (u'jobs_queued', <django.db.models.fields.IntegerField>), (u'jobs_running', <django.db.models.fields.IntegerField>), (u'jobs_failed', <django.db.models.fields.IntegerField>), (u'jobs_completed', <django.db.models.fields.IntegerField>), (u'jobs_canceled', <django.db.models.fields.IntegerField>), (u'min_seed_duration', <django.db.models.fields.DurationField>), (u'avg_seed_duration', <django.db.models.fields.DurationField>), (u'max_seed_duration', <django.db.models.fields.DurationField>), (u'min_job_duration', <django.db.models.fields.DurationField>), (u'avg_job_duration', <django.db.models.fields.DurationField>), (u'max_job_duration', <django.db.models.fields.DurationField>), (u'created', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>)], options={u'db_table': u'batch_metrics'}, name=u'BatchMetrics'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_blocked', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_canceled', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_completed', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_failed', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_pending', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_queued', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_running', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'jobs_total', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'recipes_completed', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'recipes_total', model_name=u'batch'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'batchmetrics'>, <AlterUniqueTogether unique_together=set([(u'batch', u'job_name')]), name=u'batchmetrics'>]¶
-
batch.migrations.0006_auto_20180401_0218 module¶
-
class
batch.migrations.0006_auto_20180401_0218.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'recipe', u'0022_auto_20180307_1617'), (u'batch', u'0005_auto_20180314_1827')]¶
-
operations
= [<AddField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'batch'>, <AddField field=<django.db.models.fields.BooleanField>, name=u'is_creation_done', model_name=u'batch'>, <AddField field=<django.db.models.fields.BooleanField>, name=u'is_superseded', model_name=u'batch'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=False, name=u'recipe_type_rev', model_name=u'batch'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'recipes_estimated', model_name=u'batch'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'root_batch', model_name=u'batch'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'superseded', model_name=u'batch'>, <AddField field=<django.db.models.fields.related.OneToOneField>, name=u'superseded_batch', model_name=u'batch'>]¶
-
batch.migrations.0007_auto_20180516_1915 module¶
-
class
batch.migrations.0007_auto_20180516_1915.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0006_auto_20180401_0218')]¶
-
operations
= [<AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'batchmetrics'>]¶
-
batch.migrations.0008_auto_20190226_1255 module¶
-
class
batch.migrations.0008_auto_20190226_1255.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0007_auto_20180516_1915')]¶
-
operations
= [<RemoveField name=u'completed_job_count', model_name=u'batch'>, <RemoveField name=u'completed_recipe_count', model_name=u'batch'>, <RemoveField name=u'created_count', model_name=u'batch'>, <RemoveField name=u'failed_count', model_name=u'batch'>, <RemoveField name=u'status', model_name=u'batch'>, <RemoveField name=u'total_count', model_name=u'batch'>]¶
-
batch.migrations.0009_auto_20190531_1318 module¶
-
class
batch.migrations.0009_auto_20190531_1318.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0008_auto_20190226_1255')]¶
-
operations
= [<RemoveField name=u'batch', model_name=u'batchjob'>, <RemoveField name=u'job', model_name=u'batchjob'>, <RemoveField name=u'superseded_job', model_name=u'batchjob'>, <RemoveField name=u'batch', model_name=u'batchrecipe'>, <RemoveField name=u'recipe', model_name=u'batchrecipe'>, <RemoveField name=u'superseded_recipe', model_name=u'batchrecipe'>, <DeleteModel name=u'BatchJob'>, <DeleteModel name=u'BatchRecipe'>]¶
-