Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations Issue: Reset and makemigrations #21

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,5 @@ djhtml = "*"
pyproject-flake8 = "*"
boto3 = "*"

[dev-packages]

[requires]
python_version = "3.11"
13 changes: 10 additions & 3 deletions report_a_breach/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Generated by Django 4.2.9 on 2024-02-05 16:40
# Generated by Django 4.2.10 on 2024-02-14 13:29

import uuid

import django.db.models.deletion
import django_countries.fields
from django.db import migrations
from django.db import models
from django.db import migrations, models


class Migration(migrations.Migration):
Expand Down Expand Up @@ -181,4 +180,12 @@ class Migration(migrations.Migration):
"abstract": False,
},
),
migrations.AddField(
model_name="breach",
name="sanctions_regimes",
field=models.ManyToManyField(
through="report_a_breach.SanctionsRegimeBreachThrough",
to="report_a_breach.sanctionsregime",
),
),
]

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Generated by Django 4.2.9 on 2024-02-05 16:41
# Generated by Django 4.2.10 on 2024-02-14 13:30

import uuid

import django.db.models.deletion
import django_countries.fields
import simple_history.models
from django.conf import settings
from django.db import migrations
from django.db import models
from django.db import migrations, models


class Migration(migrations.Migration):
Expand Down

This file was deleted.

20 changes: 0 additions & 20 deletions report_a_breach/migrations/0004_breach_sanctions_regimes.py

This file was deleted.

12 changes: 0 additions & 12 deletions report_a_breach/migrations/0005_merge_20240206_1556.py

This file was deleted.