Changes between Initial Version and Version 1 of PurchasingSubscription
- Timestamp:
- 01/10/26 18:07:04 (7 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PurchasingSubscription
v1 v1 1 == Purchasing a Subscription 2 3 ==== Actors: **Registered Boss** 4 5 **1.** The user selects a subscription plan. 6 7 **2.** The system creates an active subscription. 8 9 **3.** The payment is recorded. 10 11 12 {{{#!sql 13 INSERT INTO user_subscription (user_id, plan_id, start_date, end_date, status) 14 VALUES (1, 2, CURRENT_DATE, CURRENT_DATE + INTERVAL '6 months', 'ACTIVE'); 15 16 INSERT INTO payment (user_id, subscription_id, amount) 17 VALUES (1, 1, 49.99); 18 19 20 }}}
