Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix order of migrations from #9754 (#10657)

Mikayla Maki775539b3fa83
diff --git a/crates/workspace/src/persistence.rs b/crates/workspace/src/persistence.rs
index bdc29bddfdd..322945c9c0c 100644
--- a/crates/workspace/src/persistence.rs
+++ b/crates/workspace/src/persistence.rs
@@ -281,14 +281,15 @@ define_connection! {
sql!(
ALTER TABLE workspaces ADD COLUMN fullscreen INTEGER; //bool
),
- // Add centered_layout field to workspace
- sql!(
- ALTER TABLE workspaces ADD COLUMN centered_layout INTEGER; //bool
- ),
// Add preview field to items
sql!(
ALTER TABLE items ADD COLUMN preview INTEGER; //bool
),
+ // Add centered_layout field to workspace
+ sql!(
+ ALTER TABLE workspaces ADD COLUMN centered_layout INTEGER; //bool
+ ),
+
];
}