PluralKit/crates/premium/init.sql
Iris System def9285250
Some checks failed
Build and push Docker image / .net docker build (push) Has been cancelled
.net checks / run .net tests (push) Has been cancelled
.net checks / dotnet-format (push) Has been cancelled
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
feat: premium ID changes
2026-01-12 20:39:12 +13:00

11 lines
No EOL
365 B
SQL

create table premium_subscriptions (
id serial primary key,
provider text not null,
provider_id text not null,
email text not null,
system_id int references systems (id) on delete set null,
allowance_id int references premium_allowances (id) on delete set null,
status text,
next_renewal_at text,
unique (provider, provider_id)
)