Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
4ce7b16a
Verified
Commit
4ce7b16a
authored
5 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
Update to 3.0.0
parent
d511da7b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
patches/patch20200415-3.0.0/patch.sh
+4
-4
4 additions, 4 deletions
patches/patch20200415-3.0.0/patch.sh
patches/patch20200415-3.0.0/versioning.sql
+0
-2
0 additions, 2 deletions
patches/patch20200415-3.0.0/versioning.sql
utils/patch_header.sh
+1
-0
1 addition, 0 deletions
utils/patch_header.sh
with
5 additions
and
6 deletions
patches/patch20200
312-2.1.2
/patch.sh
→
patches/patch20200
415-3.0.0
/patch.sh
+
4
−
4
View file @
4ce7b16a
...
...
@@ -22,9 +22,9 @@
# ** end header
#
# new entity_version table
# Update mysql schema to version v
2.1.2
NEW_VERSION
=
"v
2.1.2
"
OLD_VERSION
=
"v2.1.
2
"
# Update mysql schema to version v
3.0.0
NEW_VERSION
=
"v
3.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
...
...
This diff is collapsed.
Click to expand it.
tests/test_0_next_patch
.sql
→
patches/patch20200415-3.0.0/versioning
.sql
+
0
−
2
View file @
4ce7b16a
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
;
...
...
This diff is collapsed.
Click to expand it.
utils/patch_header.sh
+
1
−
0
View file @
4ce7b16a
...
...
@@ -88,6 +88,7 @@ while test $# -gt 0; do
;;
--patch
*
)
PATCH
=
"
${
1
#--*=
}
"
PATCH_DIR
=
$(
dirname
$PATCH
)
shift
;;
--backupdir
*
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment