chore(api): update StreamSetting model
This commit is contained in:
parent
6bae0e2846
commit
28c4989d44
2 changed files with 18 additions and 8 deletions
|
@ -29,9 +29,19 @@ class Preference(models.Model):
|
|||
|
||||
|
||||
class StreamSetting(models.Model):
|
||||
keyname = models.CharField(primary_key=True, max_length=64)
|
||||
value = models.CharField(max_length=255, blank=True, null=True)
|
||||
type = models.CharField(max_length=16)
|
||||
key = models.CharField(
|
||||
db_column="keyname",
|
||||
primary_key=True,
|
||||
max_length=64,
|
||||
)
|
||||
value = models.CharField(
|
||||
max_length=255,
|
||||
blank=True,
|
||||
null=True,
|
||||
)
|
||||
type = models.CharField(
|
||||
max_length=16,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
managed = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue