Skip to content

Commit

Permalink
add prefix in views (#68)
Browse files Browse the repository at this point in the history
* add prefix in views

* remove topology schema from original dump

* remove bomb

* add SRID as variable

* update to last pum for variables

* some column fixes

* fix arguments

* more fixes

* more fixes

* more fixes

* more fixes

* fix

* even more fixes

* try with co id

* fix id

* fix
  • Loading branch information
3nids authored Apr 25, 2018
1 parent cae2e8b commit 41ab5fb
Show file tree
Hide file tree
Showing 11 changed files with 1,449 additions and 272 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ script:
- export VERSION=$(sed 'r' "$TRAVIS_BUILD_DIR/system/CURRENT_VERSION.txt")

# Create a db from a dump file. This simulate the prod db
- pum restore -p qgep_prod -x --exclude-schema public -- $TRAVIS_BUILD_DIR/test_data/qgep_demodata_1.0.0.dump
- pum restore -p qgep_prod -x --exclude-schema public --exclude-schema topology -- $TRAVIS_BUILD_DIR/test_data/qgep_demodata_1.0.0.dump
- pum baseline -p qgep_prod -t qgep_sys.pum_info -d $TRAVIS_BUILD_DIR/delta/ -b 1.0.0

# Create last version of qgep db using db_setup.sh script as comp db
Expand All @@ -62,7 +62,7 @@ script:
- pum baseline -p qgep_comp -t qgep_sys.pum_info -d $TRAVIS_BUILD_DIR/delta/ -b $VERSION

# Run pum's test and upgrade
- yes | pum test-and-upgrade -pp qgep_prod -pt qgep_test -pc qgep_comp -t qgep_sys.pum_info -d $TRAVIS_BUILD_DIR/delta/ -f /tmp/qwat_dump -i constraints views --exclude-schema public
- yes | pum test-and-upgrade -pp qgep_prod -pt qgep_test -pc qgep_comp -t qgep_sys.pum_info -d $TRAVIS_BUILD_DIR/delta/ -f /tmp/qwat_dump -i constraints views --exclude-schema public -v int SRID 2056

after_success:
- ./.deploy/create-release.sh
Loading

0 comments on commit 41ab5fb

Please sign in to comment.