Skip to content

Commit 18e454e

Browse files
Correct migrations
1 parent 8208665 commit 18e454e

2 files changed

Lines changed: 3 additions & 23 deletions

File tree

server/game_dev/migrations/0030_art_artcontributor_artshowcase.py renamed to server/game_dev/migrations/0031_art_artcontributor_artshowcase.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by Django 5.1.15 on 2026-03-01 06:47
1+
# Generated by Django 5.1.15 on 2026-07-11 08:49
22

33
import django.db.models.deletion
44
from django.db import migrations, models
@@ -7,7 +7,7 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('game_dev', '0029_rename_cover_image_event_coverimage_and_more'),
10+
('game_dev', '0030_alter_game_itchgameheight_alter_game_itchgamewidth'),
1111
]
1212

1313
operations = [
@@ -44,13 +44,7 @@ class Migration(migrations.Migration):
4444
('art', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='showcase', to='game_dev.art')),
4545
],
4646
options={
47-
'constraints': [
48-
models.UniqueConstraint(
49-
fields=('art',),
50-
name='unique_artshowcase_per_art',
51-
violation_error_message='Each art piece can only have one showcase.'
52-
)
53-
],
47+
'constraints': [models.UniqueConstraint(fields=('art',), name='unique_artshowcase_per_art', violation_error_message='Each art piece can only have one showcase.')],
5448
},
5549
),
5650
]

server/game_dev/migrations/0031_merge_20260404_1256.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)