feat: add postgres auth sync and stripe webhook verification

This commit is contained in:
L
2026-02-23 23:32:48 +00:00
parent 4ce94a5b17
commit a45a9b0392
5 changed files with 592 additions and 65 deletions

View File

@@ -35,6 +35,9 @@ create table if not exists subscriptions (
);
create index if not exists subscriptions_user_id_idx on subscriptions(user_id);
create unique index if not exists subscriptions_provider_subscription_id_uidx
on subscriptions(provider_subscription_id)
where provider_subscription_id is not null;
create table if not exists tunnels (
id uuid primary key default gen_random_uuid(),