Skip to content

Commit

Permalink
corrected migration
Browse files Browse the repository at this point in the history
  • Loading branch information
melinoix committed Nov 13, 2024
1 parent e319556 commit 83121ca
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Generated by Django 5.1.1 on 2024-11-13 13:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('core', '0038_complianceassessment_ref_id'),
]

operations = [
migrations.AlterField(
model_name='framework',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='loadedlibrary',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='referencecontrol',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='requirementmappingset',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='requirementnode',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='riskmatrix',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='storedlibrary',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
migrations.AlterField(
model_name='threat',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Generated by Django 5.1.1 on 2024-11-13 13:19

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('core', '0039_alter_framework_ref_id_alter_loadedlibrary_ref_id_and_more'),
]

operations = [
migrations.AlterField(
model_name='framework',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='loadedlibrary',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='referencecontrol',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='requirementmappingset',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='requirementnode',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='riskmatrix',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='storedlibrary',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
migrations.AlterField(
model_name='threat',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Reference ID'),
),
]
17 changes: 17 additions & 0 deletions backend/iam/migrations/0011_remove_folder_ref_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.1.1 on 2024-11-13 13:16

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('iam', '0010_folder_ref_id'),
]

operations = [
migrations.RemoveField(
model_name='folder',
name='ref_id',
),
]
18 changes: 18 additions & 0 deletions backend/iam/migrations/0012_folder_ref_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.1.1 on 2024-11-13 13:19

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('iam', '0011_remove_folder_ref_id'),
]

operations = [
migrations.AddField(
model_name='folder',
name='ref_id',
field=models.CharField(blank=True, max_length=100, null=True, verbose_name='reference id'),
),
]

0 comments on commit 83121ca

Please sign in to comment.