Source code for swh.lister.cgit.models

# 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

from ..core.models import ModelBase


[docs]class CGitModel(ModelBase): """a CGit repository representation """ __tablename__ = "cgit_repo" uid = Column(String, primary_key=True) instance = Column(String, index=True)