about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--supabase/migrations/20240605214214_create_file_table.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/supabase/migrations/20240605214214_create_file_table.sql b/supabase/migrations/20240605214214_create_file_table.sql
index 75b462f..af00953 100644
--- a/supabase/migrations/20240605214214_create_file_table.sql
+++ b/supabase/migrations/20240605214214_create_file_table.sql
@@ -1,5 +1,5 @@
 CREATE TABLE IF NOT EXISTS public."file" (
-	id SERIAL PRIMARY KEY,
+	id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
 	user_id UUID NOT NULL,
 	absolute_path VARCHAR(4096) NOT NULL,
 	contents TEXT,