Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use int8 for `scan_id` and `inode` in Postgres
Antonio Scandurra8621c88a3ce0
diff --git a/crates/collab/migrations/20221111092550_reconnection_support.sql b/crates/collab/migrations/20221111092550_reconnection_support.sqlindex 50a4a7154b5..de29f0c878c 100644--- a/crates/collab/migrations/20221111092550_reconnection_support.sql+++ b/crates/collab/migrations/20221111092550_reconnection_support.sql@@ -15,7 +15,7 @@ CREATE TABLE "worktrees" ("root_name" VARCHAR NOT NULL,"abs_path" VARCHAR NOT NULL,"visible" BOOL NOT NULL,- "scan_id" INTEGER NOT NULL,+ "scan_id" INT8 NOT NULL,"is_complete" BOOL NOT NULL,PRIMARY KEY(project_id, id));@@ -27,7 +27,7 @@ CREATE TABLE "worktree_entries" ("id" INTEGER NOT NULL,"is_dir" BOOL NOT NULL,"path" VARCHAR NOT NULL,- "inode" INTEGER NOT NULL,+ "inode" INT8 NOT NULL,"mtime_seconds" INTEGER NOT NULL,"mtime_nanos" INTEGER NOT NULL,"is_symlink" BOOL NOT NULL,