Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-20 10:15:20

0001 """Provision the SWF team using the host's existing identity system."""
0002 
0003 from django.db import migrations
0004 
0005 TEAM_ID = "8873a572-a319-4a90-bfc9-76a9b76e30fb"
0006 
0007 
0008 def provision_team(apps, schema_editor):
0009     Team = apps.get_model("teamcomms_service", "Team")
0010     Team.objects.using(schema_editor.connection.alias).get_or_create(
0011         id=TEAM_ID, defaults={"name": "ePIC Workflow Management"})
0012 
0013 
0014 class Migration(migrations.Migration):
0015     dependencies = [
0016         ("monitor_app", "0013_crashsignature"),
0017         ("teamcomms_service", "0002_host_identity_binding"),
0018         ("teamcomms_entries", "0002_integrity_and_search"),
0019         ("teamcomms_comms", "0002_immutable_records"),
0020     ]
0021     operations = [migrations.RunPython(provision_team, migrations.RunPython.noop)]