stages/prompt: fix wrong field type of field_key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
66ca488ea0
commit
b80ecd4668
|
@ -0,0 +1,20 @@
|
|||
# Generated by Django 3.2.8 on 2021-10-10 16:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("authentik_stages_prompt", "0004_prompt_sub_text"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="prompt",
|
||||
name="field_key",
|
||||
field=models.TextField(
|
||||
help_text="Name of the form field, also used to store the value"
|
||||
),
|
||||
),
|
||||
]
|
|
@ -57,7 +57,7 @@ class Prompt(SerializerModel):
|
|||
|
||||
prompt_uuid = models.UUIDField(primary_key=True, editable=False, default=uuid4)
|
||||
|
||||
field_key = models.SlugField(
|
||||
field_key = models.TextField(
|
||||
help_text=_("Name of the form field, also used to store the value")
|
||||
)
|
||||
label = models.TextField()
|
||||
|
|
|
@ -26264,8 +26264,6 @@ components:
|
|||
field_key:
|
||||
type: string
|
||||
description: Name of the form field, also used to store the value
|
||||
maxLength: 50
|
||||
pattern: ^[-a-zA-Z0-9_]+$
|
||||
label:
|
||||
type: string
|
||||
type:
|
||||
|
@ -27145,8 +27143,6 @@ components:
|
|||
field_key:
|
||||
type: string
|
||||
description: Name of the form field, also used to store the value
|
||||
maxLength: 50
|
||||
pattern: ^[-a-zA-Z0-9_]+$
|
||||
label:
|
||||
type: string
|
||||
type:
|
||||
|
@ -27211,8 +27207,6 @@ components:
|
|||
field_key:
|
||||
type: string
|
||||
description: Name of the form field, also used to store the value
|
||||
maxLength: 50
|
||||
pattern: ^[-a-zA-Z0-9_]+$
|
||||
label:
|
||||
type: string
|
||||
type:
|
||||
|
|
Reference in a new issue