mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(premium): initial subscription implementation through paddle
This commit is contained in:
parent
81cde5e688
commit
226947e6aa
15 changed files with 1121 additions and 144 deletions
10
crates/premium/init.sql
Normal file
10
crates/premium/init.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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,
|
||||
status text,
|
||||
next_renewal_at text,
|
||||
unique (provider, provider_id)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue