Mercurial > kallithea
diff kallithea/__init__.py @ 4223:400fbab35389 kallithea-2.2.5-rebrand
db: introduce DB_MIGRATIONS to handle the db_migrate version which has the product name in the key.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:08:37 -0400 |
parents | f5c9018a5cf0 |
children | 6c7056875d0d |
line wrap: on
line diff
--- a/kallithea/__init__.py Wed Jul 02 19:08:37 2014 -0400 +++ b/kallithea/__init__.py Wed Jul 02 19:08:37 2014 -0400 @@ -64,6 +64,9 @@ # Users.extern_type and .extern_name value for local users EXTERN_TYPE_INTERNAL = BRAND if BRAND != 'kallithea' else 'internal' +# db_migrate_version.repository_id value, same as kallithea/lib/dbmigrate/migrate.cfg +DB_MIGRATIONS = BRAND + "_db_migrations" + try: from kallithea.lib import get_current_revision _rev = get_current_revision(quiet=True)