File indexing completed on 2026-04-27 07:41:42
0001
0002
0003 from django.db import migrations, models
0004
0005
0006 class Migration(migrations.Migration):
0007
0008 dependencies = [
0009 ('monitor_app', '0030_add_namespace_model'),
0010 ]
0011
0012 operations = [
0013 migrations.AddField(
0014 model_name='systemagent',
0015 name='hostname',
0016 field=models.CharField(blank=True, help_text='Host where agent is running', max_length=100, null=True),
0017 ),
0018 migrations.AddField(
0019 model_name='systemagent',
0020 name='operational_state',
0021 field=models.CharField(choices=[('STARTING', 'Starting'), ('READY', 'Ready'), ('PROCESSING', 'Processing'), ('EXITED', 'Exited')], default='STARTING', help_text='What the agent is doing (STARTING/READY/PROCESSING/EXITED)', max_length=20),
0022 ),
0023 migrations.AddField(
0024 model_name='systemagent',
0025 name='pid',
0026 field=models.IntegerField(blank=True, help_text='Process ID for kill operations', null=True),
0027 ),
0028 ]