Use int8 for `scan_id` and `inode` in Postgres

Antonio Scandurra created

Change summary

crates/collab/migrations/20221111092550_reconnection_support.sql | 4 +-
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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,