Skip to content

Commit

Permalink
feat: add migration for new Character field
Browse files Browse the repository at this point in the history
  • Loading branch information
koeaw committed Jan 17, 2024
1 parent bc45082 commit cfe4973
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions apis_ontology/migrations/0023_character_fictionality.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 4.2.9 on 2024-01-17 08:13

from django.db import migrations
import multiselectfield.db.fields


class Migration(migrations.Migration):
dependencies = [
("apis_ontology", "0022_expression_manifestation_type"),
]

operations = [
migrations.AddField(
model_name="character",
name="fictionality",
field=multiselectfield.db.fields.MultiSelectField(
choices=[
("fictional_character", "fiktive Figur"),
("historical_character", "historische Figur"),
("mythical_character", "mythologische Figur"),
],
help_text="Faktizität vs. Fiktionalität",
max_length=255,
null=True,
verbose_name="Erfindungsgrad",
),
),
]

0 comments on commit cfe4973

Please sign in to comment.