Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Merge requests
!18
XX-4272 / Purge
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
XX-4272 / Purge
XX-4272/purge
into
release
Overview
0
Commits
15
Pipelines
0
Changes
9
Merged
XX-4272 / Purge
Jono Wenger
requested to merge
XX-4272/purge
into
release
Oct 20, 2022
Overview
0
Commits
15
Pipelines
0
Changes
9
Add function to clear all persistent storage used by wasm.
0
0
Merge request reports
Compare
release
version 8
0b779364
Oct 22, 2022
version 7
bed18b03
Oct 21, 2022
version 6
e8389978
Oct 21, 2022
version 5
40939175
Oct 20, 2022
version 4
de9d3f10
Oct 20, 2022
version 3
f98140fc
Oct 20, 2022
version 2
7776a27f
Oct 20, 2022
version 1
5ddc38cb
Oct 20, 2022
release (base)
and
latest version
latest version
04444789
15 commits,
Oct 24, 2022
version 8
0b779364
13 commits,
Oct 22, 2022
version 7
bed18b03
11 commits,
Oct 21, 2022
version 6
e8389978
10 commits,
Oct 21, 2022
version 5
40939175
9 commits,
Oct 20, 2022
version 4
de9d3f10
8 commits,
Oct 20, 2022
version 3
f98140fc
7 commits,
Oct 20, 2022
version 2
7776a27f
6 commits,
Oct 20, 2022
version 1
5ddc38cb
5 commits,
Oct 20, 2022
9 files
+
338
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
indexedDb/init.go
+
7
−
0
View file @ 04444789
Edit in single-file editor
Open in Web IDE
Show full file
@@ -186,5 +186,12 @@ func v1Upgrade(db *idb.Database) error {
return
err
}
// Get the database name and save it to storage
if
databaseName
,
err
:=
db
.
Name
();
err
!=
nil
{
return
err
}
else
if
err
=
storage
.
StoreIndexedDb
(
databaseName
);
err
!=
nil
{
return
err
}
return
nil
}
Loading