mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
channel_folders: Update MAX_NAME_LENGTH to 60.
This commit is contained in:
17
zerver/migrations/0744_alter_channelfolder_name.py
Normal file
17
zerver/migrations/0744_alter_channelfolder_name.py
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.2.4 on 2025-07-28 07:42
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("zerver", "0743_realm_require_e2ee_push_notifications"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="channelfolder",
|
||||||
|
name="name",
|
||||||
|
field=models.CharField(max_length=60),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -6,7 +6,7 @@ from zerver.models.users import UserProfile
|
|||||||
|
|
||||||
|
|
||||||
class ChannelFolder(models.Model):
|
class ChannelFolder(models.Model):
|
||||||
MAX_NAME_LENGTH = 100
|
MAX_NAME_LENGTH = 60
|
||||||
MAX_DESCRIPTION_LENGTH = 1024
|
MAX_DESCRIPTION_LENGTH = 1024
|
||||||
|
|
||||||
realm = models.ForeignKey(Realm, on_delete=models.CASCADE)
|
realm = models.ForeignKey(Realm, on_delete=models.CASCADE)
|
||||||
|
|||||||
Reference in New Issue
Block a user