models: Unify tablenames using singular as main archive's convention
Related P434
This commit is contained in:
parent
6d11705908
commit
fc92c79b7e
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue