diff --git a/api/tacticalrmm/software/migrations/0001_initial.py b/api/tacticalrmm/software/migrations/0001_initial.py deleted file mode 100644 index 5f6ecf57..00000000 --- a/api/tacticalrmm/software/migrations/0001_initial.py +++ /dev/null @@ -1,23 +0,0 @@ -# Generated by Django 3.0.2 on 2020-01-10 00:20 - -import django.contrib.postgres.fields.jsonb -from django.db import migrations, models - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ] - - operations = [ - migrations.CreateModel( - name='ChocoSoftware', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('chocos', django.contrib.postgres.fields.jsonb.JSONField()), - ('added', models.DateTimeField(auto_now_add=True)), - ], - ), - ] diff --git a/api/tacticalrmm/software/migrations/0002_chocolog.py b/api/tacticalrmm/software/migrations/0002_chocolog.py deleted file mode 100644 index b855ae3e..00000000 --- a/api/tacticalrmm/software/migrations/0002_chocolog.py +++ /dev/null @@ -1,26 +0,0 @@ -# Generated by Django 3.0.2 on 2020-02-02 01:31 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('agents', '0017_agent_choco_installed'), - ('software', '0001_initial'), - ] - - operations = [ - migrations.CreateModel( - name='ChocoLog', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=255)), - ('version', models.CharField(max_length=255)), - ('message', models.TextField()), - ('time', models.DateTimeField(auto_now_add=True)), - ('agent', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='chocolog', to='agents.Agent')), - ], - ), - ] diff --git a/api/tacticalrmm/software/migrations/0003_auto_20200202_0427.py b/api/tacticalrmm/software/migrations/0003_auto_20200202_0427.py deleted file mode 100644 index baf81fc0..00000000 --- a/api/tacticalrmm/software/migrations/0003_auto_20200202_0427.py +++ /dev/null @@ -1,29 +0,0 @@ -# Generated by Django 3.0.2 on 2020-02-02 04:27 - -import django.contrib.postgres.fields.jsonb -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('agents', '0017_agent_choco_installed'), - ('software', '0002_chocolog'), - ] - - operations = [ - migrations.AddField( - model_name='chocolog', - name='installed', - field=models.BooleanField(default=False), - ), - migrations.CreateModel( - name='InstalledSoftware', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('software', django.contrib.postgres.fields.jsonb.JSONField()), - ('agent', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='agents.Agent')), - ], - ), - ]