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:
2026-01-14 14:09:49 -06:00
parent 79e66aed63
commit 3d72e8bbf8
9 changed files with 1464 additions and 0 deletions
@@ -116,6 +116,8 @@ Deno.serve(async (req) => {
try {
// 1) Auth requerido ✅
console.log('Función EDGE');
const authHeader = req.headers.get("Authorization") ??
req.headers.get("authorization");
if (!authHeader) {