Migration scripts for the Data Catalog database used to capture provenance information on all files managed by the Data Factory.
This project provides a Docker container including Alembic and a Python model of the Data Catalog schema to setup and migrate this schema in a target database.
Example:
docker run --rm -e "DB_URL=postgresql://postgres:postgres@localhost:5432/postgres" hbpmip/data-catalog-setup:1.6.0 upgrade head
Run: ./build.sh
Run: cd tests && ./test.sh
Run: ./publish.sh
Copyright (C) 2017 LREN CHUV
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This work has been funded by the European Union Seventh Framework Program (FP7/20072013) under grant agreement no. 604102 (HBP)
This work is part of SP8 of the Human Brain Project (SGA1).