Update notification_history table on insert/update of notifications

triggered via calls in dao_create_notification and dao_update_notification - if you don't use those functions (eg update in bulk) you'll have to update the history table yourself!
This commit is contained in:
Leo Hemsted
2016-07-08 16:19:34 +01:00
parent 47ef63adbe
commit 722699a72a
5 changed files with 54 additions and 2 deletions

View File

@@ -1,13 +1,13 @@
"""empty message
Revision ID: 807f0b497157
Revises: 0039_fix_notifications
Revises: 0041_notification_history
Create Date: 2016-07-07 13:15:35.503107
"""
# revision identifiers, used by Alembic.
revision = '807f0b497157'
revision = '0040_adjust_mmg_provider_rate'
down_revision = '0039_fix_notifications'
from alembic import op