diff --git a/swh/lister/bitbucket/models.py b/swh/lister/bitbucket/models.py index 65fba9c..053ae0b 100644 --- a/swh/lister/bitbucket/models.py +++ b/swh/lister/bitbucket/models.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 the Software Heritage developers +# Copyright (C) 2017-2019 the Software Heritage developers # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information @@ -9,7 +9,7 @@ from swh.lister.core.models import IndexingModelBase class BitBucketModel(IndexingModelBase): """a BitBucket repository""" - __tablename__ = 'bitbucket_repos' + __tablename__ = 'bitbucket_repo' uid = Column(String, primary_key=True) indexable = Column(String, index=True) diff --git a/swh/lister/github/models.py b/swh/lister/github/models.py index 6584b34..47df1a3 100644 --- a/swh/lister/github/models.py +++ b/swh/lister/github/models.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 the Software Heritage developers +# Copyright (C) 2017-2019 the Software Heritage developers # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information @@ -9,7 +9,7 @@ from swh.lister.core.models import IndexingModelBase class GitHubModel(IndexingModelBase): """a GitHub repository""" - __tablename__ = 'github_repos' + __tablename__ = 'github_repo' uid = Column(Integer, primary_key=True) indexable = Column(Integer, index=True) diff --git a/swh/lister/phabricator/models.py b/swh/lister/phabricator/models.py index ba7ee73..533a365 100644 --- a/swh/lister/phabricator/models.py +++ b/swh/lister/phabricator/models.py @@ -9,7 +9,7 @@ from swh.lister.core.models import IndexingModelBase class PhabricatorModel(IndexingModelBase): """a Phabricator repository""" - __tablename__ = 'phabricator_repos' + __tablename__ = 'phabricator_repo' uid = Column(String, primary_key=True) indexable = Column(Integer, index=True)