Skip to content

Commit

Permalink
Remove OI dependency from participants migration (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzurakowski committed May 8, 2023
1 parent 911dd05 commit f55acf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
4 changes: 0 additions & 4 deletions oioioi/oi/migrations/0002_auto_20160412_1720.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ class Migration(migrations.Migration):
name='region',
field=models.IntegerField(verbose_name='region', null=True),
),
migrations.AlterModelTable('oionsiteregistration',
'participants_onsiteregistration'),
migrations.AlterModelTable('region',
'participants_region'),
]

state_operations = [
Expand Down
12 changes: 1 addition & 11 deletions oioioi/participants/migrations/0004_auto_20160412_1718.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ class Migration(migrations.Migration):
dependencies = [
('contests', '0005_auto_20150531_2248'),
('participants', '0003_openregistration'),
('oi', '0002_auto_20160412_1720'),
]

database_operations = [
]

state_operations = [
operations = [
migrations.CreateModel(
name='OnsiteRegistration',
fields=[
Expand Down Expand Up @@ -50,9 +46,3 @@ class Migration(migrations.Migration):
unique_together=set([('region', 'local_number')]),
),
]

operations = [
migrations.SeparateDatabaseAndState(
database_operations=database_operations,
state_operations=state_operations)
]

0 comments on commit f55acf6

Please sign in to comment.