Renovus-Tech / solarec-db

GNU Affero General Public License v3.0
0 stars 0 forks source link

Upgdate information stored by location (type of installatoin / grid connected) #16

Closed pferrariuy closed 1 month ago

pferrariuy commented 1 month ago

Feature Request

Description

Upgrade the information stored in the database and send in the different json response. The new information to store are:

Enable the possiblity to expand the type of installations by adding a new table to store them.

Additional Context

Update location table to have a FK to the new table loc_type. The new table will contain the possible locations types, with initial values of:

Implementation Suggestions

Allow the loc_type to have a code and text, where the code can be use as label for i18n.

pferrariuy commented 1 month ago

The grid connected can be done by flag in column loc_flags