Source code for swh.lister.gitlab.models

# Copyright (C) 2018 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 GitLabModel(ModelBase): """a Gitlab repository from a gitlab instance """ __tablename__ = "gitlab_repo" uid = Column(String, primary_key=True) instance = Column(String, index=True)