Fix sqlite string manipulation workspace paths migration
This commit is contained in:
parent
5474a310f7
commit
e7e8d65d78
1 changed files with 2 additions and 2 deletions
|
@ -608,9 +608,9 @@ impl Domain for WorkspaceDb {
|
||||||
sql!(
|
sql!(
|
||||||
UPDATE workspaces
|
UPDATE workspaces
|
||||||
SET paths = CASE
|
SET paths = CASE
|
||||||
WHEN substr(paths, 1, 2) = '[' || '"' AND substr(paths, -2, 2) = ']' || '"' THEN
|
WHEN substr(paths, 1, 2) = '[' || '"' AND substr(paths, -2, 2) = '"' || ']' THEN
|
||||||
replace(
|
replace(
|
||||||
substr(paths, 2, length(paths) - 2),
|
substr(paths, 3, length(paths) - 4),
|
||||||
'"' || ',' || '"',
|
'"' || ',' || '"',
|
||||||
'\0'
|
'\0'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue