added Mercado Pago integration with new payment handling functions and updated app routing

This commit is contained in:
Lucas Tettamanti
2026-01-15 13:06:37 -03:00
parent 29fa2d127e
commit eedd16afdb
13 changed files with 1652 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
-- migrate:up
create table if not exists product_embeddings_cache (
tenant_id uuid not null references tenants(id) on delete cascade,
content_hash text not null,
content_text text not null,
embedding jsonb not null,
model text not null,
updated_at timestamptz not null default now(),
primary key (tenant_id, content_hash)
);
create index if not exists product_embeddings_cache_tenant_idx
on product_embeddings_cache (tenant_id);
-- migrate:down
drop table if exists product_embeddings_cache;