chore(api): rename library model visibility field (#1933)

This commit is contained in:
Jonas L 2022-07-01 19:13:31 +02:00 committed by GitHub
parent b8056a9f7a
commit 2ce1053bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ class Library(models.Model):
)
code = models.CharField(max_length=16, unique=True)
description = models.CharField(max_length=255, blank=True, null=True)
visible = models.BooleanField(
enabled = models.BooleanField(
blank=True,
default=True,
db_column="visibility",