Files
django-migration-linter/tests/test_project/app_add_not_null_column/models.py
T

9 lines
195 B
Python

from __future__ import annotations
from django.db import models
class A(models.Model):
null_field = models.IntegerField(null=True)
new_not_null_field = models.IntegerField(null=False)