diff --git a/swh/lister/bitbucket/models.py b/swh/lister/bitbucket/models.py index 65fba9c4469ab00f07bbc27872aa56591a016430..053ae0bb29461c0297b803fc7acb9b79ab59811a 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 6584b343ef345b70150d72487066396adec83ff1..47df1a353e4c1f220c62460aadad6fbc917ff399 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 ba7ee734d6e7c979ed6cc2e16de805fe3384f1d3..533a36553c668c2e14f65ede6dc410a0de0525b0 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)