diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-28 19:54:02 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-28 19:54:02 +0200 |
commit | 88d85a02f0f8799cb6b39c857a510e3b5d99171e (patch) | |
tree | 8ca45ed8bca385a28aeceeda1f4ae85859aa5747 | |
parent | rest-api: connect to db and add /file/ GET endpoint (diff) | |
download | fs-tracer-backend-88d85a02f0f8799cb6b39c857a510e3b5d99171e.tar.gz fs-tracer-backend-88d85a02f0f8799cb6b39c857a510e3b5d99171e.tar.bz2 fs-tracer-backend-88d85a02f0f8799cb6b39c857a510e3b5d99171e.zip |
supabase: add api_keys table migration
-rw-r--r-- | supabase/migrations/20240528175243_create_api_keys_table.sql | 4 |
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 +); |