[go: up one dir, main page]

File: storage.py

package info (click to toggle)
cozy 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,140 kB
  • sloc: python: 8,014; xml: 392; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from peewee import CharField, IntegerField, BooleanField

from cozy.db.model_base import ModelBase


class Storage(ModelBase):
    path = CharField()
    location_type = IntegerField(default=0)
    default = BooleanField(default=False)
    external = BooleanField(default=False)