aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcody.yu@windriver.com <cody.yu@windriver.com>2020-02-02 23:08:47 +0000
committercody.yu@windriver.com <cody.yu@windriver.com>2020-02-02 23:08:47 +0000
commit541e1f6b789cc11df291b8b7adfd54b340b85ae8 (patch)
tree56e0604c43093fcbe9ea23cc5ec7c98965e9d8ed
parent6eec97690201b4136c0490fcfb92fb1c63165014 (diff)
downloadsrtool-master.tar.gz
srtool-master.tar.bz2
srtool-master.zip
srtool: add 'affected-components' and ErrorLog migrationHEADmaster
Add the migration file for the new Error Log class and 'affect-components' fields. Signed-off-by: david.reyna@windriver.com <david.reyna@windriver.com>
-rwxr-xr-xlib/orm/migrations/0007_components_errorlog.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/orm/migrations/0007_components_errorlog.py b/lib/orm/migrations/0007_components_errorlog.py
new file mode 100755
index 00000000..88a02ee1
--- /dev/null
+++ b/lib/orm/migrations/0007_components_errorlog.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.5 on 2020-02-01 03:09
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('orm', '0006_reconcile'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='ErrorLog',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('severity', models.IntegerField(default=0)),
+ ('description', models.TextField(blank=True)),
+ ('srt_created', models.DateTimeField(auto_now_add=True, null=True)),
+ ],
+ ),
+ migrations.AddField(
+ model_name='defect',
+ name='packages',
+ field=models.TextField(blank=True),
+ ),
+ migrations.AddField(
+ model_name='investigation',
+ name='packages',
+ field=models.TextField(blank=True),
+ ),
+ migrations.AddField(
+ model_name='vulnerability',
+ name='packages',
+ field=models.TextField(blank=True),
+ ),
+ ]