Skip to content

Commit

Permalink
finish smooth migration
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-intuitem committed Mar 4, 2024
1 parent 81abf05 commit 59dd974
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ class Migration(migrations.Migration):

operations = [
migrations.RenameModel('SecurityFunction', 'ReferenceControl'),
migrations.DeleteModel("Policy"),
migrations.RenameModel('SecurityMeasure', 'AppliedControl'),
]
26 changes: 26 additions & 0 deletions backend/core/migrations/0008_policy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by Django 5.0.2 on 2024-03-04 22:06

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('core', '0007_alter_appliedcontrol_options_and_more'),
]

operations = [
migrations.CreateModel(
name='Policy',
fields=[
],
options={
'verbose_name': 'Policy',
'verbose_name_plural': 'Policies',
'proxy': True,
'indexes': [],
'constraints': [],
},
bases=('core.appliedcontrol',),
),
]

0 comments on commit 59dd974

Please sign in to comment.