ingest.migrations package

Submodules

ingest.migrations.0001_initial module

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

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0001_initial'), (u'storage', u'0001_initial'), (u'source', u'0001_initial')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'file_name', <django.db.models.fields.CharField>), (u'status', <django.db.models.fields.CharField>), (u'transfer_path', <django.db.models.fields.CharField>), (u'bytes_transferred', <django.db.models.fields.BigIntegerField>), (u'transfer_started', <django.db.models.fields.DateTimeField>), (u'transfer_ended', <django.db.models.fields.DateTimeField>), (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'ingest_path', <django.db.models.fields.CharField>), (u'ingest_started', <django.db.models.fields.DateTimeField>), (u'ingest_ended', <django.db.models.fields.DateTimeField>), (u'created', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'source_file', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'ingest'}, name=u'Ingest'>, <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'configuration', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'job', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'strike'}, name=u'Strike'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'strike', model_name=u'ingest'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'workspace', model_name=u'ingest'>]

ingest.migrations.0002_auto_20160414_0937 module

class ingest.migrations.0002_auto_20160414_0937.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0001_initial')]
operations = [<AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=False, name=u'strike', model_name=u'ingest'>]

ingest.migrations.0003_auto_20160711_1044 module

class ingest.migrations.0003_auto_20160711_1044.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'storage', u'0002_workspace_is_move_enabled'), (u'ingest', u'0002_auto_20160414_0937')]
operations = [<RemoveField name=u'ingest_path', model_name=u'ingest'>, <RemoveField name=u'transfer_path', model_name=u'ingest'>, <AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'new_file_path', model_name=u'ingest'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'new_workspace', model_name=u'ingest'>, <AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'transfer_started', model_name=u'ingest'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'workspace', model_name=u'ingest'>]

ingest.migrations.0004_auto_20160711_1058 module

class ingest.migrations.0004_auto_20160711_1058.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0003_auto_20160711_1044')]
operations = [<RunPython <function populate_new_workspace>>]
populate_new_workspace(apps, schema_editor)

ingest.migrations.0005_auto_20160728_1243 module

class ingest.migrations.0005_auto_20160728_1243.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0004_auto_20160711_1058')]
operations = [<AlterField field=<django.db.models.fields.BigIntegerField>, preserve_default=True, name=u'bytes_transferred', model_name=u'ingest'>]

ingest.migrations.0006_auto_20161202_1621 module

class ingest.migrations.0006_auto_20161202_1621.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0005_auto_20160728_1243')]
operations = [<AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'data_ended', model_name=u'ingest'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'data_started', model_name=u'ingest'>, <AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'ingest_ended', model_name=u'ingest'>]

ingest.migrations.0007_auto_20170127_1327 module

class ingest.migrations.0007_auto_20170127_1327.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0006_auto_20161202_1621')]
operations = [<AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'source_file', model_name=u'ingest'>, <RunPython <function delete_constraint>>]
ingest.migrations.0007_auto_20170127_1327.delete_constraint(apps, schema_editor)

ingest.migrations.0008_auto_20170127_1332 module

class ingest.migrations.0008_auto_20170127_1332.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0007_auto_20170127_1327')]
operations = [<AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'source_file', model_name=u'ingest'>]

ingest.migrations.0009_scan module

class ingest.migrations.0009_scan.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0022_jobtype_configuration'), (u'ingest', u'0008_auto_20170127_1332')]
operations = [<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'configuration', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'job', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'scan'}, name=u'Scan'>]

ingest.migrations.0010_auto_20170206_1646 module

class ingest.migrations.0010_auto_20170206_1646.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0009_scan')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'scan', model_name=u'ingest'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'strike', model_name=u'ingest'>]

ingest.migrations.0011_auto_20170302_2130 module

class ingest.migrations.0011_auto_20170302_2130.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'job', u'0022_jobtype_configuration'), (u'ingest', u'0010_auto_20170206_1646')]
operations = [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'dry_run_job', model_name=u'scan'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job', model_name=u'scan'>]

ingest.migrations.0012_scan_file_count module

class ingest.migrations.0012_scan_file_count.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0011_auto_20170302_2130')]
operations = [<AddField field=<django.db.models.fields.BigIntegerField>, preserve_default=True, name=u'file_count', model_name=u'scan'>]

ingest.migrations.0013_auto_20170406_1517 module

class ingest.migrations.0013_auto_20170406_1517.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0012_scan_file_count')]
operations = [<AlterField field=<django.db.models.fields.TextField>, preserve_default=True, name=u'description', model_name=u'scan'>, <AlterField field=<django.db.models.fields.TextField>, preserve_default=True, name=u'description', model_name=u'strike'>]

ingest.migrations.0014_auto_20170412_1225 module

class ingest.migrations.0014_auto_20170412_1225.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0013_auto_20170406_1517')]
operations = [<AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'scan'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'strike'>]

ingest.migrations.0015_ingestevent module

class ingest.migrations.0015_ingestevent.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0014_auto_20170412_1225')]
operations = [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'type', <django.db.models.fields.CharField>), (u'description', <django.contrib.postgres.fields.jsonb.JSONField>), (u'occurred', <django.db.models.fields.DateTimeField>), (u'ingest', <django.db.models.fields.related.ForeignKey>), (u'scan', <django.db.models.fields.related.ForeignKey>), (u'strike', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'ingest_event'}, name=u'IngestEvent'>]

ingest.migrations.0016_ingest_data_type_tags module

class ingest.migrations.0016_ingest_data_type_tags.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0015_ingestevent')]
operations = [<AddField field=<django.contrib.postgres.fields.array.ArrayField>, name=u'data_type_tags', model_name=u'ingest'>]

ingest.migrations.0017_populate_data_type_tags module

class ingest.migrations.0017_populate_data_type_tags.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0016_ingest_data_type_tags')]
operations = [<RunPython <function populate_data_type_tags>>]
ingest.migrations.0017_populate_data_type_tags.populate_data_type_tags(apps, schema_editor)

ingest.migrations.0018_remove_ingest_data_type module

class ingest.migrations.0018_remove_ingest_data_type.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0017_populate_data_type_tags')]
operations = [<RemoveField name=u'data_type', model_name=u'ingest'>]

ingest.migrations.0019_filename_index module

class ingest.migrations.0019_filename_index.Migration(name, app_label)

Bases: django.db.migrations.migration.Migration

dependencies = [(u'ingest', u'0018_remove_ingest_data_type')]
operations = [<BtreeGinExtension >, <AddIndex index=<GinIndex: fields='file_name'>, model_name=u'ingest'>, <AlterField field=<django.db.models.fields.CharField>, name=u'name', model_name=u'scan'>, <AddIndex index=<GinIndex: fields='name'>, model_name=u'scan'>]

Module contents