Skip to content

Commit 64b14ef

Browse files
authored
Fix Sqlite newline syntax in workspace migration (#36916)
Fixes one more case where I incorrectly tried to use a `\n` escape sequence for a newline in sqlite. Release Notes: - N/A
1 parent bf5ed6d commit 64b14ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/workspace/src/persistence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ impl Domain for WorkspaceDb {
553553
WHEN workspaces.local_paths_array IS NULL OR workspaces.local_paths_array = "" THEN
554554
NULL
555555
ELSE
556-
replace(workspaces.local_paths_array, ',', "\n")
556+
replace(workspaces.local_paths_array, ',', CHAR(10))
557557
END
558558
END as paths,
559559

0 commit comments

Comments
 (0)