Deps updates, handle more tables + LK code

This commit is contained in:
Marcus Lindvall 2021-12-30 12:40:50 +01:00
parent f649b5f953
commit 5fe140714e
14 changed files with 583 additions and 79 deletions

22
README.md Normal file
View file

@ -0,0 +1,22 @@
# PyJeeves Module
This project is a Jeeves data extraction and integration project.
## Initial creation of database schema.
```bash
docker run --link db --network marcus_default -v /srv/pyjeeves/config.yml:/app/config.yml gitlab.lndvll.se:5500/lindvallskaffe/pyjeeves python ./pyjeeves/db_raw.py
```
## Connecting to DB with client
```bash
docker run -it --network marcus_default --link db:mysql --rm mysql sh -c 'exec mysql -h"db" -P"3306" -uroot -p"ROOT_PW"'
```
## Forcing updates
You may force updates of objects by setting RowUpdatedDt to null.
For example:
´update jvs_customers set RowUpdatedDt = null;´