about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-08-19 00:20:36 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-08-19 00:20:36 +0200
commit7cd3004640bac9cbf291b9075f99405b7d8c3c64 (patch)
tree626a3bfaef1d07a15e83e729c2f913a22b4d640d
parentrest-api: Add /api/v1/restored-files/ endpoint (diff)
downloadfs-tracer-backend-7cd3004640bac9cbf291b9075f99405b7d8c3c64.tar.gz
fs-tracer-backend-7cd3004640bac9cbf291b9075f99405b7d8c3c64.tar.bz2
fs-tracer-backend-7cd3004640bac9cbf291b9075f99405b7d8c3c64.zip
Supabase: Migrations: Fix schema of restored files table
-rw-r--r--supabase/migrations/20240818192021_create_restored_file_table.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/supabase/migrations/20240818192021_create_restored_file_table.sql b/supabase/migrations/20240818192021_create_restored_file_table.sql
index 5654b33..634c8f0 100644
--- a/supabase/migrations/20240818192021_create_restored_file_table.sql
+++ b/supabase/migrations/20240818192021_create_restored_file_table.sql
@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS public."restored_file" (
 	user_id UUID NOT NULL,
 	absolute_path VARCHAR(4096) NOT NULL,
 	contents TEXT,
-	original_timestamp TIMESTAMPTZ NOT NULL
+	timestamp TIMESTAMPTZ NOT NULL
 );
 
 ALTER TABLE public."restored_file" ENABLE ROW LEVEL SECURITY;