forked from github/plane
dev: update instance configuration model to take null and empty values
This commit is contained in:
parent
a4f28b32f5
commit
66cb297587
@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.5 on 2023-11-08 13:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('license', '0002_instanceconfiguration'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='instanceconfiguration',
|
||||
name='value',
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
]
|
@ -32,7 +32,7 @@ class Instance(BaseModel):
|
||||
|
||||
class InstanceConfiguration(AuditModel):
|
||||
key = models.CharField(max_length=100, unique=True)
|
||||
value = models.TextField()
|
||||
value = models.TextField(null=True, blank=True)
|
||||
|
||||
class Meta:
|
||||
verbose_name = "Instance Configuration"
|
||||
|
Loading…
Reference in New Issue
Block a user