feat: add postgres auth sync and stripe webhook verification
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user