diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-26 20:47:03 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-26 20:47:03 +0100 |
commit | d421e56e0924487861e6cf5300f462c9e66fd376 (patch) | |
tree | 5340955b351772dfc9ec38c7a80035b5781cc93a /pyblackbird_cc/resources/migrations | |
parent | 610177be35ec791edae9577f104d0132f2a28364 (diff) |
Correctly handles the unique constraint on feature_slot
Diffstat (limited to 'pyblackbird_cc/resources/migrations')
-rw-r--r-- | pyblackbird_cc/resources/migrations/0009_alter_resource_feature_slot.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/migrations/0009_alter_resource_feature_slot.py b/pyblackbird_cc/resources/migrations/0009_alter_resource_feature_slot.py new file mode 100644 index 0000000..ca082d4 --- /dev/null +++ b/pyblackbird_cc/resources/migrations/0009_alter_resource_feature_slot.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.4 on 2024-05-26 18:17 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('resources', '0008_alter_resource_card_description'), + ] + + operations = [ + migrations.AlterField( + model_name='resource', + name='feature_slot', + field=models.IntegerField(blank=True, choices=[(1, 1), (2, 2), (3, 3)], default=0, null=True, unique=True), + ), + ] |