From 5ab5fd031c2af7e66a4855499ccfd699aa9b7fc4 Mon Sep 17 00:00:00 2001 From: eric-intuitem <71850047+eric-intuitem@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:34:35 +0200 Subject: [PATCH] Update 0001_squashed_0014_auto_20240522_1731.py --- .../core/migrations/0001_squashed_0014_auto_20240522_1731.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/core/migrations/0001_squashed_0014_auto_20240522_1731.py b/backend/core/migrations/0001_squashed_0014_auto_20240522_1731.py index 9cbc45c5f..1219ebcc2 100644 --- a/backend/core/migrations/0001_squashed_0014_auto_20240522_1731.py +++ b/backend/core/migrations/0001_squashed_0014_auto_20240522_1731.py @@ -122,9 +122,12 @@ def adapt_libraries(apps, schema_editor): import time + + def sleep_test(apps, schema_editor): time.sleep(5) + def fix_urns_for_enisa_5g_scm(apps, schema_editor): enisa_5g_scm_stored_library = StoredLibrary.objects.filter( urn="urn:intuitem:risk:library:enisa-5g-scm-v1.3" @@ -176,7 +179,6 @@ class Migration(migrations.Migration): migrations.RunPython( code=sleep_test, ), - migrations.CreateModel( name="Asset", fields=[