bug double subscription
This commit is contained in:
@@ -57,6 +57,8 @@ CREATE TABLE subscription_payments (
|
||||
user_id uuid NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
subscription_id uuid NOT NULL REFERENCES subscriptions(id) ON DELETE CASCADE,
|
||||
renewal_date text NOT NULL,
|
||||
title text NOT NULL,
|
||||
amount double precision NOT NULL CHECK (amount > 0),
|
||||
status text NOT NULL,
|
||||
payment_date text,
|
||||
linked_payment_id uuid,
|
||||
|
||||
Reference in New Issue
Block a user