##// END OF EJS Templates
dashboard: main page grids async load....
dashboard: main page grids async load. - in some cases when super-admins or all repos in root loading main page could take minutes because we loaded whole dataset. - this change make the loading limited to first page of data. Rest is loaded via DB pagination - In many cases this is major speed-up for showing 1st page fast.

File last commit:

r411:df8dc98d default
r4148:021b2cd2 default
Show More
055_version_4_3_0.py
27 lines | 620 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
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