blob: 8ed40b9f0b6927981e1baaf27e0243cee7f86e9c [file] [log] [blame]
# -*- coding: utf-8 -*-
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from sqlalchemy import Column, Integer, String, Text
from sqlalchemy.ext.declarative import declarative_base
from moblab_common.database_models.declarative_base import Base
class MoblabSettings(Base):
__tablename__ = "moblab_settings"
id = Column(Integer, primary_key=True)
key = Column(String(length=255), nullable=False, unique=True)
value = Column(String(length=max), nullable=False)
description = Column(Text, default=False)