Skip to content
Snippets Groups Projects
Verified Commit 899ac102 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: alter Note.tags to be JSONField

parent e9a8453a
No related branches found
No related tags found
No related merge requests found
# Generated by Django 4.2.2 on 2023-09-06 02:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0072_timeslot_language_timeslot_topic"),
]
operations = [
migrations.AlterField(
model_name="note",
name="tags",
field=models.JSONField(blank=True),
),
]
......@@ -446,7 +446,7 @@ class Note(models.Model):
playlist = models.TextField(blank=True)
slug = models.SlugField(max_length=32, unique=True)
summary = models.TextField(blank=True)
tags = models.TextField(blank=True)
tags = models.JSONField(blank=True)
timeslot = models.OneToOneField(TimeSlot, null=True, on_delete=models.SET_NULL, unique=True)
title = models.CharField(max_length=128)
updated_at = models.DateTimeField(auto_now=True, blank=True, null=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment