Skip to content

Commit

Permalink
Make slug field unique.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollard committed Nov 29, 2023
1 parent 42972ba commit 7e1bbd7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions physionet-django/notification/migrations/0009_alter_news_slug.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.10 on 2023-11-29 20:12

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("notification", "0008_news_slug"),
]

operations = [
migrations.AlterField(
model_name="news",
name="slug",
field=models.SlugField(max_length=100, unique=True),
preserve_default=False,
),
]

0 comments on commit 7e1bbd7

Please sign in to comment.