summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py
diff options
context:
space:
mode:
authorKonstantin L. Metlov <metlov@fti.dn.ua>2022-12-21 22:49:18 +0300
committerJonah BrĂ¼chert <jbb@kaidan.im>2024-04-20 02:37:45 +0200
commiteb1dc9a3916c0204c930baa13aefae1be8d13b61 (patch)
treecc4cbbe38059f164075a5b6ef477e359c7c12b6e /src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py
parentc5650dc057f9fd6d5e26b56cac78dfeb21e59eb5 (diff)
downloadbcfg2-eb1dc9a3916c0204c930baa13aefae1be8d13b61.tar.gz
bcfg2-eb1dc9a3916c0204c930baa13aefae1be8d13b61.tar.bz2
bcfg2-eb1dc9a3916c0204c930baa13aefae1be8d13b61.zip
added on_delete=models.CASCADE to all models.OneToOneField invocations
Signed-off-by: Konstantin L. Metlov <metlov@fti.dn.ua>
Diffstat (limited to 'src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py')
-rw-r--r--src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py b/src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py
index 8f65939be..de27ee879 100644
--- a/src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py
+++ b/src/lib/Bcfg2/Reporting/south_migrations/0003_expand_hash_key.py
@@ -70,7 +70,7 @@ class Migration(SchemaMigration):
'current_major': ('django.db.models.fields.IntegerField', [], {}),
'current_minor': ('django.db.models.fields.IntegerField', [], {}),
'device_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
- 'pathentry_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['Reporting.PathEntry']", 'unique': 'True', 'primary_key': 'True'}),
+ 'pathentry_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['Reporting.PathEntry']", 'unique': 'True', 'on_delete': 'models.CASCADE', 'primary_key': 'True'}),
'target_major': ('django.db.models.fields.IntegerField', [], {}),
'target_minor': ('django.db.models.fields.IntegerField', [], {})
},
@@ -130,7 +130,7 @@ class Migration(SchemaMigration):
'Reporting.linkentry': {
'Meta': {'ordering': "('state', 'name')", 'object_name': 'LinkEntry', '_ormbases': ['Reporting.PathEntry']},
'current_path': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
- 'pathentry_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['Reporting.PathEntry']", 'unique': 'True', 'primary_key': 'True'}),
+ 'pathentry_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['Reporting.PathEntry']", 'unique': 'True', 'on_delete': 'models.CASCADE', 'primary_key': 'True'}),
'target_path': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'})
},
'Reporting.packageentry': {