chore(api): rename library model visibility field (#1933)
This commit is contained in:
parent
b8056a9f7a
commit
2ce1053bbc
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue