about summary refs log tree commit diff
path: root/supabase/migrations/20240525164247_create_file_table.sql
diff options
context:
space:
mode:
Diffstat (limited to 'supabase/migrations/20240525164247_create_file_table.sql')
-rw-r--r--supabase/migrations/20240525164247_create_file_table.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/supabase/migrations/20240525164247_create_file_table.sql b/supabase/migrations/20240525164247_create_file_table.sql
new file mode 100644
index 0000000..738a16e
--- /dev/null
+++ b/supabase/migrations/20240525164247_create_file_table.sql
@@ -0,0 +1,7 @@
+CREATE TABLE IF NOT EXISTS private."file" (
+	id SERIAL PRIMARY KEY,
+	user_id UUID NOT NULL,
+	absolute_path VARCHAR(4096) NOT NULL,
+	contents TEXT,
+	timestamp TIMESTAMPTZ NOT NULL
+);