about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--supabase/migrations/20240528175243_create_api_keys_table.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/supabase/migrations/20240528175243_create_api_keys_table.sql b/supabase/migrations/20240528175243_create_api_keys_table.sql
new file mode 100644
index 0000000..5efa946
--- /dev/null
+++ b/supabase/migrations/20240528175243_create_api_keys_table.sql
@@ -0,0 +1,4 @@
+CREATE TABLE IF NOT EXISTS private.api_keys (
+  id UUID NOT NULL REFERENCES auth.users,
+  api_key CHAR(44) NOT NULL
+);