role description blank=True
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 5.0 on 2025-11-05 09:18
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('authentication', '0047_organizationtype_parent'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='bankaccountinformation',
|
||||
name='account',
|
||||
field=models.CharField(max_length=25, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='bankaccountinformation',
|
||||
name='card',
|
||||
field=models.CharField(max_length=25, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='bankaccountinformation',
|
||||
name='sheba',
|
||||
field=models.CharField(max_length=30, null=True),
|
||||
),
|
||||
]
|
||||
18
apps/authorization/migrations/0022_alter_role_description.py
Normal file
18
apps/authorization/migrations/0022_alter_role_description.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-11-05 09:18
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('authorization', '0021_permissions_modify_state'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='role',
|
||||
name='description',
|
||||
field=models.TextField(blank=True, max_length=500, null=True),
|
||||
),
|
||||
]
|
||||
@@ -61,7 +61,7 @@ class Role(BaseModel):
|
||||
null=True
|
||||
)
|
||||
role_name = models.CharField(max_length=50, unique=True)
|
||||
description = models.TextField(max_length=500)
|
||||
description = models.TextField(max_length=500, null=True, blank=True)
|
||||
type = models.ForeignKey(
|
||||
auth_models.OrganizationType,
|
||||
on_delete=models.CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user