Skip to content

Commit

Permalink
storage: Remove unused LOBs
Browse files Browse the repository at this point in the history
These were introduced in 1e958ac (optimized-backtrace) and 39bc462
(logs), respectively, but they were both taken out during a great
cataclysm in f6e578d.
  • Loading branch information
mgrabovsky authored and ernestask committed Feb 25, 2020
1 parent e771db6 commit 819424c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pyfaf/storage/bugzilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def __str__(self):
# pylint: disable=too-many-instance-attributes
class BzBug(GenericTable):
__tablename__ = "bzbugs"
__lobs__ = {"optimized-backtrace": 1 << 16}

id = Column(Integer, primary_key=True)
summary = Column(String(256), nullable=False)
Expand Down
1 change: 0 additions & 1 deletion src/pyfaf/storage/opsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ class BuildOpSysReleaseArch(GenericTable):

class BuildArch(GenericTable):
__tablename__ = "buildarchs"
__lobs__ = {"build.log": 1 << 26, "state.log": 1 << 16, "root.log": 1 << 26}

build_id = Column(Integer, ForeignKey("{0}.id".format(Build.__tablename__)), primary_key=True)
arch_id = Column(Integer, ForeignKey("{0}.id".format(Arch.__tablename__)), primary_key=True)
Expand Down

0 comments on commit 819424c

Please sign in to comment.