TUB-DVG / wissen-digital-ewb

Platform for knowledge sharing of the scientific accompanying research of “Energiewendebauen”.
https://wissen-digital-ewb.de/en
MIT License
1 stars 1 forks source link

Move Data from weatherdata table to Datasets and Tools table #142

Open expeditionengineer opened 1 week ago

expeditionengineer commented 1 week ago

To improve the structure of the database the weatherdata-table should be deleted. The data from here should be moved to CollectedDatasets and Tools.

c0nb4 commented 3 days ago

When working on this issue, can you keep this one in mind: https://github.com/TUB-DVG/wissen-digital-ewb/issues/18

expeditionengineer commented 3 days ago

I started looking into the migration of the weatherdata model into the 2 other models. There are a few attributes where im not sure were to put them. Here is a mapping.

Mapping of weatherdata to tools and datasets

Attribute Name Weatherdata -> Attribute Name Tool / Attribute Name CollectedDataset data_service -> name/nameDataset short_description -> shortDescription/shortDescriptionDe provider -> provider/ ? further_information -> furtherInformation/ ? data_url -> ? /referenceLink logo_url -> ? / ? applications -> areaOfApplication/

Please note this is still work in progress