chore(api): update StreamSetting model

This commit is contained in:
jo 2022-06-21 14:43:31 +02:00 committed by Kyle Robbertze
parent 6bae0e2846
commit 28c4989d44
2 changed files with 18 additions and 8 deletions

View file

@ -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