Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/json/models.py
- This file was added.
# Copyright (C) 2019 the Software Heritage developers | |||||
# License: GNU General Public License version 3, or any later version | |||||
# See top-level LICENSE file for more information | |||||
from sqlalchemy import Column, String, Integer | |||||
from ..core.models import ModelBase | |||||
class JSONModel(ModelBase): | |||||
"""a JSON packages list representation | |||||
""" | |||||
__tablename__ = 'json' | |||||
uid = Column(String, primary_key=True) |