Skip to content

Commit

Permalink
wip: fix versioning, but maybe should be fixed in invenio-db
Browse files Browse the repository at this point in the history
  • Loading branch information
utnapischtim committed Sep 23, 2024
1 parent 7450325 commit 02a2f85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invenio_banners/records/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class BannerModel(db.Model, Timestamp):
"""Defines a message to show to users."""

__tablename__ = "banners"
__versioned__ = {"versioning": False}
# fix it here or fix it in invenio_db/utils:versioning_models_registered about the all problem
__versioned__ = {"versioning": True}

id = db.Column(db.Integer, primary_key=True)

Expand Down

0 comments on commit 02a2f85

Please # to comment.