Skip to content

Commit

Permalink
alembic: inital branch
Browse files Browse the repository at this point in the history
Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep committed Aug 11, 2022
1 parent b9ac078 commit dc16287
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
33 changes: 33 additions & 0 deletions rero_mef/alembic/c658fa8e9fa5_inital_branch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- 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 <http://www.gnu.org/licenses/>.

"""Inital branch."""


# revision identifiers, used by Alembic.
revision = 'c658fa8e9fa5'
down_revision = '0bea81e3b83e'
branch_labels = ()
depends_on = None


def upgrade():
"""Upgrade database."""


def downgrade():
"""Downgrade database."""

0 comments on commit dc16287

Please # to comment.