feat(datamart): intial foundation of the datamart setup

this will allow for faster datamart addtions and updates
This commit is contained in:
2025-12-23 19:30:34 -06:00
parent 1b200147b7
commit ea72fd10cd
8 changed files with 122 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
/**
* If we are running in client mode we want to periodically check the SERVER_NAME for new/updates queries
* this will be on a cronner job, we will check 2 times a day for new data, we will also have a route we can trigger to check this manually incase we have
* queries we make for one plant but will eventually go to all plants.
* in client mode we will not be able to add, update, or delete
*
* if we are running on server mode we will provide all queries.
* allow for new queries to be added
* allow for queries to be updated by id
* table will be
* id
* name
* description
* query
* version
* active
* options (string ie start,end)
* add_date
* add_user
* upd_date
* upd_user
*/