M
M
makerkz2015-08-03 13:28:19
Database design
makerkz, 2015-08-03 13:28:19

How to organize the tariff system in the application?

Good afternoon!
It is necessary to organize a tariff system in the web application. For example, there are 3 tariffs, each with its own limitations. What should be the structure of the database for storing tariffs?
I think that you need to create a table with tariffs, in each entry there will be restrictions on tariffs, the current tariff and its use will be stored in the user profile. Before each request, which is associated with restrictions, make a request to the database and check for exceeding the limits by the user.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question