##// END OF EJS Templates
fix(permission-flush): use delete method for permission cache invalidation as it's multi-process safe....
fix(permission-flush): use delete method for permission cache invalidation as it's multi-process safe. Fixes RCCE-23

File last commit:

r5042:4c5af799 default
r5266:a1331d35 default
Show More
055_version_4_3_0.py
27 lines | 597 B | text/x-python | PythonLexer
dbmigrate: python3 changes...
r5042
dan
integrations: add integration support...
r411
import logging
import sqlalchemy as sa
from alembic.migration import MigrationContext
from alembic.operations import Operations
from rhodecode.lib.dbmigrate.versions import _reset_base
log = logging.getLogger(__name__)
def upgrade(migrate_engine):
"""
Upgrade operations go here.
Don't create your own engine; bind migrate_engine to your metadata
"""
_reset_base(migrate_engine)
from rhodecode.lib.dbmigrate.schema import db_4_3_0_0
integrations_table = db_4_3_0_0.Integration.__table__
integrations_table.create()
def downgrade(migrate_engine):
pass