diff --git a/pyproject.toml b/pyproject.toml index 1521b3c3..f4b857a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,6 +106,9 @@ rero_mef = "rero_mef.theme.views:blueprint" [tool.poetry.plugins."invenio_config.module"] rero_mef = "rero_mef.config" +[tool.poetry.plugins."invenio_db.alembic"] +rero_ils = "rero_mef:alembic" + [tool.poetry.plugins."invenio_db.models"] mef = "rero_mef.agents.mef.models" viaf = "rero_mef.agents.viaf.models" diff --git a/rero_mef/alembic/c658fa8e9fa5_inital_branch.py b/rero_mef/alembic/c658fa8e9fa5_inital_branch.py new file mode 100644 index 00000000..85115ea9 --- /dev/null +++ b/rero_mef/alembic/c658fa8e9fa5_inital_branch.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# +# RERO MEF +# Copyright (C) 2022 RERO +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +"""Inital branch.""" + + +# revision identifiers, used by Alembic. +revision = 'c658fa8e9fa5' +down_revision = '0bea81e3b83e' +branch_labels = () +depends_on = None + + +def upgrade(): + """Upgrade database.""" + pass + + +def downgrade(): + """Downgrade database.""" + pass