Add initial Supabase configuration and schema setup
- Created connection URL for PostgreSQL in pooler-url file. - Added PostgreSQL version information in postgres-version file. - Included project reference in project-ref file. - Specified REST API version in rest-version file. - Documented storage migration details in storage-migration file. - Defined storage version in storage-version file. - Updated ai-structured function to include logging for EDGE function. - Established a comprehensive schema.sql file with multiple tables, types, functions, triggers, and permissions for the application.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
v2.185.0
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
postgresql://postgres.exdkssurzmjnnhgtiama@aws-0-us-west-1.pooler.supabase.com:5432/postgres
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
15.8.1.085
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
exdkssurzmjnnhgtiama
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
v12.2.3
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
buckets-objects-grants-postgres
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
v1.33.0
|
||||||
@@ -116,6 +116,8 @@ Deno.serve(async (req) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// 1) Auth requerido ✅
|
// 1) Auth requerido ✅
|
||||||
|
console.log('Función EDGE');
|
||||||
|
|
||||||
const authHeader = req.headers.get("Authorization") ??
|
const authHeader = req.headers.get("Authorization") ??
|
||||||
req.headers.get("authorization");
|
req.headers.get("authorization");
|
||||||
if (!authHeader) {
|
if (!authHeader) {
|
||||||
|
|||||||
+1455
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user