From 793de1ec647c41e6b331c7ef9f5521d943cd4958 Mon Sep 17 00:00:00 2001 From: moanos Date: Sat, 19 Oct 2024 20:37:32 +0200 Subject: [PATCH] fix: Add migration --- .../migrations/0010_timestamp.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/fellchensammlung/migrations/0010_timestamp.py diff --git a/src/fellchensammlung/migrations/0010_timestamp.py b/src/fellchensammlung/migrations/0010_timestamp.py new file mode 100644 index 0000000..1fe8554 --- /dev/null +++ b/src/fellchensammlung/migrations/0010_timestamp.py @@ -0,0 +1,21 @@ +# Generated by Django 5.1.1 on 2024-10-19 18:36 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('fellchensammlung', '0009_log'), + ] + + operations = [ + migrations.CreateModel( + name='Timestamp', + fields=[ + ('key', models.CharField(max_length=255, primary_key=True, serialize=False, verbose_name='Schlüssel')), + ('timestamp', models.DateTimeField(auto_now_add=True, verbose_name='Zeitstempel')), + ('data', models.CharField(blank=True, max_length=2000, null=True)), + ], + ), + ]