teksi / district_heating

Future TEKSI distance heating module
https://teksi.github.io/district_heating/
GNU General Public License v3.0
0 stars 0 forks source link

multi document management #51

Open jpdupuy opened 2 months ago

jpdupuy commented 2 months ago

Hello, This concept allows to attach one to many documents (photos, pdf, ..) to every database classes. It does not currently exist in the TDH data model, however it does exist in the TWW and TWA data models. I already had some feedback about this need during the presentation I gave to the people financing this first phase.

I suggest to implement this concept together with the appropriate tables, functions, triggers, data dictionary. The development guide should also introduce a chapter on this topic.

jpdupuy commented 2 months ago

@ponceta suggested to implement this concept based upon the TEKSI Wastewater data model (which is the most advanced)(od.file and od.data_media)

ponceta commented 4 weeks ago

Here is the first draft : https://github.com/teksi/district_heating/pull/59 at least on the datamodel side, if we agree on it I could provide the project configuration if needed.

jpdupuy commented 4 weeks ago

@ponceta I do agree and would also like some screen capture to configure properly the relation in the Document Management Plugin