fix cuser_role model and add unique together
This commit is contained in:
1 parent
4e7fa3d6ef
commit
5052bde49a
5 files changed
+60
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.1 on 2024-01-23 07:21
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('workspace', '0013_alter_workspace_cuser_owner'),
|
||||
('cuser', '0009_cuserrole_cuser'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='cuserrole',
|
||||
unique_together={('cuser', 'role_type', 'sys_ws')},
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user