mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 23:42:14 +00:00
Swap to better method of validating uniqueness of cable types
SCOPE, Arona, damn it
This commit is contained in:
17
assets/migrations/0022_alter_cabletype_unique_together.py
Normal file
17
assets/migrations/0022_alter_cabletype_unique_together.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 3.2.11 on 2022-01-12 19:11
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('assets', '0021_auto_20210302_1204'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='cabletype',
|
||||
unique_together={('plug', 'socket', 'circuits', 'cores')},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user