Skip to content

Commit

Permalink
fix: Migration for SDNFallback rename
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Nov 6, 2023
1 parent 86d50e6 commit baf9109
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions sanctions/apps/sanctions/migrations/0002_auto_20231106_1651.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 3.2.23 on 2023-11-06 16:51

from django.conf import settings
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('sanctions', '0001_initial'),
]

operations = [
migrations.RenameModel(
old_name='HistoricalSanctionsFallbackData',
new_name='HistoricalSDNFallbackData',
),
migrations.RenameModel(
old_name='HistoricalSanctionsFallbackMetadata',
new_name='HistoricalSDNFallbackMetadata',
),
migrations.RenameModel(
old_name='SanctionsFallbackData',
new_name='SDNFallbackData',
),
migrations.RenameModel(
old_name='SanctionsFallbackMetadata',
new_name='SDNFallbackMetadata',
),
migrations.AlterModelOptions(
name='historicalsdnfallbackdata',
options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical sdn fallback data'},
),
migrations.AlterModelOptions(
name='historicalsdnfallbackmetadata',
options={'get_latest_by': 'history_date', 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical sdn fallback metadata'},
),
]

0 comments on commit baf9109

Please sign in to comment.