From 439ebe3bef716e7d57fc73f8ef8235fe5b6b6bfa Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Sun, 2 Oct 2022 17:27:04 -0400 Subject: [PATCH] Migrate LinkType model --- program/migrations/0040_linktype.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 program/migrations/0040_linktype.py diff --git a/program/migrations/0040_linktype.py b/program/migrations/0040_linktype.py new file mode 100644 index 00000000..3e775313 --- /dev/null +++ b/program/migrations/0040_linktype.py @@ -0,0 +1,29 @@ +# Generated by Django 3.2.15 on 2022-10-02 21:26 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("program", "0039_auto_20221002_2307"), + ] + + operations = [ + migrations.CreateModel( + name="LinkType", + fields=[ + ( + "id", + models.AutoField( + auto_created=True, primary_key=True, serialize=False, verbose_name="ID" + ), + ), + ("name", models.CharField(help_text="Name of the link type", max_length=16)), + ("type", models.CharField(help_text="Type of the link", max_length=32)), + ], + options={ + "ordering": ("name",), + }, + ), + ] -- GitLab