Repository: marmotta
Updated Branches:
  refs/heads/develop f4ab816c5 -> d1357660a


update database schema version to 4 in update scripts


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/d1357660
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/d1357660
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/d1357660

Branch: refs/heads/develop
Commit: d1357660a3a1e1eaa509c7fee83facbe0390d3a4
Parents: f4ab816
Author: Sebastian Schaffert <[email protected]>
Authored: Tue Nov 11 12:40:27 2014 +0100
Committer: Sebastian Schaffert <[email protected]>
Committed: Tue Nov 11 12:40:27 2014 +0100

----------------------------------------------------------------------
 .../apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql   | 2 ++
 .../marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql       | 2 ++
 .../marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql       | 2 ++
 3 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/d1357660/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql
----------------------------------------------------------------------
diff --git 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql
 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql
index af19d5f..f177498 100644
--- 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql
+++ 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/h2/upgrade_base_003_004.sql
@@ -14,3 +14,5 @@
 -- limitations under the License.
 
 ALTER TABLE nodes ADD tzoffset int default 0 AFTER tvalue;
+
+UPDATE METADATA SET mvalue = '3' WHERE mkey = 'version';
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/marmotta/blob/d1357660/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql
----------------------------------------------------------------------
diff --git 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql
 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql
index 3783dac..95a1b51 100644
--- 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql
+++ 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/mysql/upgrade_base_003_004.sql
@@ -14,3 +14,5 @@
 -- limitations under the License.
 
 ALTER TABLE nodes ADD COLUMN tzoffset int default 0 AFTER tvalue;
+
+UPDATE METADATA SET mvalue = '3' WHERE mkey = 'version';
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/marmotta/blob/d1357660/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql
----------------------------------------------------------------------
diff --git 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql
 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql
index 6404445..0acb444 100644
--- 
a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql
+++ 
b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/upgrade_base_003_004.sql
@@ -14,3 +14,5 @@
 -- limitations under the License.
 
 ALTER TABLE nodes ADD COLUMN tzoffset int4 default 0;
+
+UPDATE METADATA SET mvalue = '4' WHERE mkey = 'version';
\ No newline at end of file

Reply via email to