increased settings value from 200 to 2000 (#5403)

Closes #5400
This commit is contained in:
Matthias Mair 2023-08-06 13:47:14 +02:00 committed by GitHub
parent 71026c338c
commit b6cb20ccfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.20 on 2023-08-05 17:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('common', '0020_customunit'),
]
operations = [
migrations.AlterField(
model_name='inventreesetting',
name='value',
field=models.CharField(blank=True, help_text='Settings value', max_length=2000),
),
migrations.AlterField(
model_name='inventreeusersetting',
name='value',
field=models.CharField(blank=True, help_text='Settings value', max_length=2000),
),
]

View File

@ -582,7 +582,7 @@ class BaseInvenTreeSetting(models.Model):
key = models.CharField(max_length=50, blank=False, unique=False, help_text=_('Settings key (must be unique - case insensitive)'))
value = models.CharField(max_length=200, blank=True, unique=False, help_text=_('Settings value'))
value = models.CharField(max_length=2000, blank=True, unique=False, help_text=_('Settings value'))
@property
def name(self):

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.20 on 2023-08-05 17:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('plugin', '0006_pluginconfig_metadata'),
]
operations = [
migrations.AlterField(
model_name='notificationusersetting',
name='value',
field=models.CharField(blank=True, help_text='Settings value', max_length=2000),
),
migrations.AlterField(
model_name='pluginsetting',
name='value',
field=models.CharField(blank=True, help_text='Settings value', max_length=2000),
),
]