diff --git a/etc/refstack.conf.sample b/etc/refstack.conf.sample index 00d6cf32..9d2c1449 100644 --- a/etc/refstack.conf.sample +++ b/etc/refstack.conf.sample @@ -102,6 +102,11 @@ # The backend to use for database. (string value) #db_backend = sqlalchemy +# The alembic version table name to use within the +# database. To allow RefStack to upload and store +# the full set of subunit data. set this option to +# refstack_alembic_version. +#version_table = alembic_table [api] diff --git a/refstack/db/api.py b/refstack/db/api.py index a509f4f3..defd8458 100644 --- a/refstack/db/api.py +++ b/refstack/db/api.py @@ -27,6 +27,12 @@ db_opts = [ cfg.StrOpt('db_backend', default='sqlalchemy', help='The backend to use for database.'), + cfg.StrOpt('version_table', + default='alembic_version', + help='The alembic version table name to use within the ' + + 'database. To allow RefStack to upload and store ' + + 'the full set of subunit data, set this option to ' + + 'refstack_alembic_version.'), ] CONF = cfg.CONF