[Answered ]-Django unknown column after migrations

1👍

You have used:

db_column='okrid', blank=True, null=True

db_column='okrid': This signifies that that model will use okrid as the column name and not linked_OKR.

blank=True, null=True: This signifies that the field is optional and can accept blank and null values. Django admin does not bold this field since bold means required fields.

Leave a comment