Improve documentation in upgrade file. Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/8759f875 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/8759f875 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/8759f875
Branch: refs/heads/MARMOTTA-584 Commit: 8759f875abce27d998ca8d78c0588ca4bd6ecfbc Parents: 7bb01ae Author: cuent <[email protected]> Authored: Mon Aug 17 01:34:49 2015 -0500 Committer: cuent <[email protected]> Committed: Mon Aug 17 01:34:49 2015 -0500 ---------------------------------------------------------------------- .../marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/8759f875/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql index fdf2b4c..00d184d 100644 --- a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql +++ b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_004_005.sql @@ -28,13 +28,9 @@ update nodes set ntype = ntype_old::text::nodetype; -- 6. remove old column and type alter table nodes drop column ntype_old; --- 3. delete old enum type +-- 7. delete old enum type drop type nodetype_old; - ---ALTER TYPE nodetype ADD VALUE 'geom' AFTER 'boolean'; - - --necessary for use spatial queries CREATE EXTENSION IF NOT EXISTS POSTGIS;
