chore(api): rename library model visibility field (#1933)
This commit is contained in:
parent
b8056a9f7a
commit
2ce1053bbc
|
@ -10,7 +10,7 @@ class Library(models.Model):
|
||||||
)
|
)
|
||||||
code = models.CharField(max_length=16, unique=True)
|
code = models.CharField(max_length=16, unique=True)
|
||||||
description = models.CharField(max_length=255, blank=True, null=True)
|
description = models.CharField(max_length=255, blank=True, null=True)
|
||||||
visible = models.BooleanField(
|
enabled = models.BooleanField(
|
||||||
blank=True,
|
blank=True,
|
||||||
default=True,
|
default=True,
|
||||||
db_column="visibility",
|
db_column="visibility",
|
||||||
|
|
|
@ -6139,7 +6139,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
maxLength: 255
|
maxLength: 255
|
||||||
visible:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- code
|
- code
|
||||||
|
@ -6561,7 +6561,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
maxLength: 255
|
maxLength: 255
|
||||||
visible:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
PatchedListenerCount:
|
PatchedListenerCount:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in New Issue