J
J
Jedi2020-03-29 06:59:26
JavaScript
Jedi, 2020-03-29 06:59:26

How to properly structure tables for a subscription system?

There are teachers and students, teachers buy a subscription at monthly rates, students also. The difference between students and teachers is that students buy one-time and the duration of this subscription is a year, and teachers monthly.
I can roughly imagine how, but would like to read from you how you would implement it. It would be desirable to read the competent variant of implementation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-03-29
@PHPjedi

Keep the beginning and end of the subscription period, and let them buy at least daily.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question