Skip to content

Commit 0a09e04

Browse files
committed
fix(migration): removed null=True from initial migration
1 parent ea65c87 commit 0a09e04

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

server/api/resources/migrations/0001_initial.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ class Migration(migrations.Migration):
2525
),
2626
("name", models.CharField(max_length=255)),
2727
("slug", models.SlugField(max_length=255, unique=True)),
28-
("summary", models.TextField(blank=True, null=True)),
28+
("summary", models.TextField(blank=True)),
2929
(
3030
"type",
3131
models.CharField(
3232
choices=[("page", "Page"), ("file", "File")], max_length=10
3333
),
3434
),
35-
("body", models.TextField(blank=True, null=True)),
36-
("file_url", models.URLField(blank=True, null=True)),
37-
("file_name", models.CharField(blank=True, max_length=255, null=True)),
35+
("body", models.TextField(blank=True)),
36+
("file_url", models.URLField(blank=True)),
37+
("file_name", models.CharField(blank=True, max_length=255)),
3838
],
3939
),
4040
]

0 commit comments

Comments
 (0)