storage.migrations package¶
Submodules¶
storage.migrations.0001_initial module¶
-
class
storage.migrations.0001_initial.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= []¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'name', <django.db.models.fields.CharField>), (u'fips', <django.db.models.fields.CharField>), (u'gmi', <django.db.models.fields.CharField>), (u'iso2', <django.db.models.fields.CharField>), (u'iso3', <django.db.models.fields.CharField>), (u'iso_num', <django.db.models.fields.IntegerField>), (u'border', <django.contrib.gis.db.models.fields.GeometryField>), (u'effective', <django.db.models.fields.DateTimeField>), (u'is_deleted', <django.db.models.fields.BooleanField>), (u'created', <django.db.models.fields.DateTimeField>), (u'deleted', <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'country_data'}, name=u'CountryData'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'file_name', <django.db.models.fields.CharField>), (u'media_type', <django.db.models.fields.CharField>), (u'file_size', <django.db.models.fields.BigIntegerField>), (u'data_type', <django.db.models.fields.TextField>), (u'file_path', <django.db.models.fields.CharField>), (u'is_deleted', <django.db.models.fields.BooleanField>), (u'uuid', <django.db.models.fields.CharField>), (u'created', <django.db.models.fields.DateTimeField>), (u'deleted', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'data_started', <django.db.models.fields.DateTimeField>), (u'data_ended', <django.db.models.fields.DateTimeField>), (u'geometry', <django.contrib.gis.db.models.fields.GeometryField>), (u'center_point', <django.contrib.gis.db.models.fields.PointField>), (u'meta_data', <util.deprecation.JSONStringField>), (u'countries', <django.db.models.fields.related.ManyToManyField>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'scale_file'}, name=u'ScaleFile'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'name', <django.db.models.fields.CharField>), (u'title', <django.db.models.fields.CharField>), (u'description', <django.db.models.fields.CharField>), (u'base_url', <django.db.models.fields.URLField>), (u'is_active', <django.db.models.fields.BooleanField>), (u'json_config', <util.deprecation.JSONStringField>), (u'used_size', <django.db.models.fields.BigIntegerField>), (u'total_size', <django.db.models.fields.BigIntegerField>), (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'workspace'}, name=u'Workspace'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'workspace', model_name=u'scalefile'>, <AlterUniqueTogether unique_together=set([(u'name', u'effective')]), name=u'countrydata'>, <AlterIndexTogether name=u'countrydata', index_together=set([(u'name', u'effective')])>]¶
-
storage.migrations.0002_workspace_is_move_enabled module¶
-
class
storage.migrations.0002_workspace_is_move_enabled.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0001_initial')]¶
-
operations
= [<AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_move_enabled', model_name=u'workspace'>]¶
-
storage.migrations.0003_auto_20161202_1621 module¶
-
class
storage.migrations.0003_auto_20161202_1621.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0002_workspace_is_move_enabled')]¶
-
operations
= [<AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'data_ended', model_name=u'scalefile'>]¶
-
storage.migrations.0004_auto_20170127_1408 module¶
-
class
storage.migrations.0004_auto_20170127_1408.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'ingest', u'0008_auto_20170127_1332'), (u'product', u'0006_auto_20170127_1348'), (u'source', u'0003_auto_20170127_1342'), (u'job', u'0022_jobtype_configuration'), (u'storage', u'0003_auto_20161202_1621')]¶
-
operations
= [<AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'file_type', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'has_been_published', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_operational', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_parsed', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_published', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_superseded', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job_exe', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job_type', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'parsed', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'published', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'superseded', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'unpublished', model_name=u'scalefile'>]¶
-
storage.migrations.0005_auto_20170127_1412 module¶
-
class
storage.migrations.0005_auto_20170127_1412.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0004_auto_20170127_1408')]¶
-
operations
= [<RunPython <function populate_scale_file>>]¶
-
-
storage.migrations.0005_auto_20170127_1412.
populate_scale_file
(apps, schema_editor)¶
storage.migrations.0006_auto_20170127_1423 module¶
-
class
storage.migrations.0006_auto_20170127_1423.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0005_auto_20170127_1412')]¶
-
operations
= [<AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'file_type', model_name=u'scalefile'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job', model_name=u'scalefile'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job_exe', model_name=u'scalefile'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job_type', model_name=u'scalefile'>]¶
-
storage.migrations.0007_auto_20170412_1225 module¶
-
class
storage.migrations.0007_auto_20170412_1225.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0006_auto_20170127_1423')]¶
-
operations
= [<AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'meta_data', model_name=u'scalefile'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'json_config', model_name=u'workspace'>]¶
-
storage.migrations.0008_auto_20170609_1443 module¶
-
class
storage.migrations.0008_auto_20170609_1443.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0002_auto_20170412_1225'), (u'recipe', u'0018_recipefile_recipe_input'), (u'storage', u'0007_auto_20170412_1225')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.CharField>, name=u'job_output', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.CharField>, name=u'recipe_job', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe_type', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'source_ended', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'source_started', model_name=u'scalefile'>]¶
-
storage.migrations.0009_auto_20171002_1542 module¶
-
class
storage.migrations.0009_auto_20171002_1542.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0008_auto_20170609_1443')]¶
-
operations
= [<AlterField field=<django.db.models.fields.DateTimeField>, name=u'created', model_name=u'scalefile'>]¶
-
storage.migrations.0010_auto_20180613_1947 module¶
storage.migrations.0011_auto_20180821_1439 module¶
-
class
storage.migrations.0011_auto_20180821_1439.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0010_auto_20180613_1947')]¶
-
operations
= [<AddField field=<django.db.models.fields.TextField>, name=u'source_collection', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor_class', model_name=u'scalefile'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_task', model_name=u'scalefile'>]¶
-
storage.migrations.0012_auto_20180920_1320 module¶
-
class
storage.migrations.0012_auto_20180920_1320.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0011_auto_20180821_1439')]¶
-
operations
= [<RenameField new_name=u'deprecated', model_name=u'workspace', old_name=u'archived'>, <RemoveField name=u'total_size', model_name=u'workspace'>, <RemoveField name=u'used_size', model_name=u'workspace'>]¶
-
storage.migrations.0013_purgeresults module¶
-
class
storage.migrations.0013_purgeresults.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'trigger', u'0005_auto_20170412_1225'), (u'storage', u'0012_auto_20180920_1320')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'source_file_id', <django.db.models.fields.PositiveIntegerField>), (u'num_jobs_deleted', <django.db.models.fields.PositiveIntegerField>), (u'num_recipes_deleted', <django.db.models.fields.PositiveIntegerField>), (u'num_products_deleted', <django.db.models.fields.PositiveIntegerField>), (u'purge_started', <django.db.models.fields.DateTimeField>), (u'purge_completed', <django.db.models.fields.DateTimeField>), (u'trigger_event', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'purge_results'}, name=u'PurgeResults'>]¶
-
storage.migrations.0014_purgeresults_force_stop_purge module¶
-
class
storage.migrations.0014_purgeresults_force_stop_purge.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0013_purgeresults')]¶
-
operations
= [<AddField field=<django.db.models.fields.BooleanField>, name=u'force_stop_purge', model_name=u'purgeresults'>]¶
-
storage.migrations.0015_scalefile_data_type_tags module¶
Bases:
django.db.migrations.migration.Migration
storage.migrations.0016_populate_data_type_tags module¶
Bases:
django.db.migrations.migration.Migration
storage.migrations.0017_remove_scalefile_data_type module¶
storage.migrations.0018_remove_scalefile_is_operational module¶
storage.migrations.0019_optional_description module¶
-
class
storage.migrations.0019_optional_description.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0018_remove_scalefile_is_operational')]¶
-
operations
= [<AlterField field=<django.db.models.fields.CharField>, name=u'description', model_name=u'workspace'>]¶
-