mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-02 10:41:54 +02:00
🗃️ Add new fields to subscription (#1564)
This commit is contained in:
parent
e022c4c279
commit
7cf578bedf
5 changed files with 289 additions and 198 deletions
|
@ -0,0 +1,3 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "subscriptions" ADD COLUMN "amount" INTEGER,
|
||||
ADD COLUMN "status" TEXT;
|
|
@ -88,6 +88,8 @@ model UserPaymentData {
|
|||
model Subscription {
|
||||
id String @id
|
||||
priceId String @map("price_id")
|
||||
amount Int?
|
||||
status String?
|
||||
active Boolean
|
||||
currency String?
|
||||
interval String?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue