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.

Switch to non-destructive migration

Mikayla91d3ba539077
diff --git a/crates/collab/migrations/20231025085546_move_channel_paths_to_channels_table.sql b/crates/collab/migrations/20231025085546_move_channel_paths_to_channels_table.sql
deleted file mode 100644
index a737c6c273a..00000000000
--- a/crates/collab/migrations/20231025085546_move_channel_paths_to_channels_table.sql
+++ /dev/null
@@ -1,2 +0,0 @@
-ALTER TABLE table_name
-RENAME COLUMN enviroment TO environment;
\ No newline at end of file
diff --git a/crates/collab/migrations/20240111085546_fix_column_name.sql b/crates/collab/migrations/20240111085546_fix_column_name.sql
new file mode 100644
index 00000000000..3f32ee35c59
--- /dev/null
+++ b/crates/collab/migrations/20240111085546_fix_column_name.sql
@@ -0,0 +1 @@
+ALTER TABLE rooms ADD COLUMN environment TEXT;