feat(setting): Enable super admin to set ALL device types as global

sets is_global=true and creates device types in global organization

!12 closes #31
This commit is contained in:
2024-05-27 14:29:43 +09:30
parent abbda7b400
commit ece6b9e354
5 changed files with 104 additions and 4 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 5.0.6 on 2024-05-27 04:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('settings', '0007_appsettings_device_model_is_global'),
]
operations = [
migrations.AddField(
model_name='appsettings',
name='device_type_is_global',
field=models.BooleanField(default=False, verbose_name='All Device Types is global'),
),
]