From 8cab3777dc234aacc8210181eca4c579a3cf0986 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Wed, 4 Dec 2024 10:44:44 +0100 Subject: [PATCH] [#293] add missing migration --- .../migrations/0004_alter_tokenauth_token.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/openklant/components/token/migrations/0004_alter_tokenauth_token.py diff --git a/src/openklant/components/token/migrations/0004_alter_tokenauth_token.py b/src/openklant/components/token/migrations/0004_alter_tokenauth_token.py new file mode 100644 index 00000000..02156645 --- /dev/null +++ b/src/openklant/components/token/migrations/0004_alter_tokenauth_token.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.15 on 2024-12-04 09:43 + +from django.db import migrations, models +import openklant.components.token.validators + + +class Migration(migrations.Migration): + + dependencies = [ + ("token", "0003_alter_tokenauth_identifier"), + ] + + operations = [ + migrations.AlterField( + model_name="tokenauth", + name="token", + field=models.CharField( + max_length=40, + unique=True, + validators=[ + openklant.components.token.validators.validate_non_empty_chars + ], + verbose_name="token", + ), + ), + ]