From da76a203452dc1e481e6c983a89288bb31295f45 Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Sun, 6 Oct 2024 03:06:31 +0000 Subject: [PATCH] forgot to add migration --- ...nthistory_collector_all_output_and_more.py | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 api/tacticalrmm/agents/migrations/0060_agenthistory_collector_all_output_and_more.py diff --git a/api/tacticalrmm/agents/migrations/0060_agenthistory_collector_all_output_and_more.py b/api/tacticalrmm/agents/migrations/0060_agenthistory_collector_all_output_and_more.py new file mode 100644 index 00000000..28ad64d0 --- /dev/null +++ b/api/tacticalrmm/agents/migrations/0060_agenthistory_collector_all_output_and_more.py @@ -0,0 +1,36 @@ +# Generated by Django 4.2.16 on 2024-10-05 20:39 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ("core", "0047_alter_coresettings_notify_on_warning_alerts"), + ("agents", "0059_alter_agenthistory_id"), + ] + + operations = [ + migrations.AddField( + model_name="agenthistory", + name="collector_all_output", + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name="agenthistory", + name="custom_field", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="history", + to="core.customfield", + ), + ), + migrations.AddField( + model_name="agenthistory", + name="save_to_agent_note", + field=models.BooleanField(default=False), + ), + ]