Skip to content
Snippets Groups Projects
Verified Commit 4ce7b16a authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Update to 3.0.0

parent d511da7b
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,9 @@
# ** end header
#
# new entity_version table
# Update mysql schema to version v2.1.2
NEW_VERSION="v2.1.2"
OLD_VERSION="v2.1.2"
# Update mysql schema to version v3.0.0
NEW_VERSION="v3.0.0"
OLD_VERSION="v2.1.1"
if [ -z "$UTILSPATH" ]; then
UTILSPATH="../utils"
......@@ -36,7 +36,7 @@ fi
check_version $OLD_VERSION
# TODO
mysql_execute_file $PATCH_DIR/versioning.sql
update_version $NEW_VERSION
......
USE _caosdb_schema_unit_tests;
DROP TABLE IF EXISTS archive_reference_data;
DROP TABLE IF EXISTS archive_null_data;
DROP TABLE IF EXISTS archive_text_data;
......
......@@ -88,6 +88,7 @@ while test $# -gt 0; do
;;
--patch*)
PATCH="${1#--*=}"
PATCH_DIR=$(dirname $PATCH)
shift
;;
--backupdir*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment