Bugfix update for transfer of company data from mongo to sql (#121)

Fixed the following errors:

- Typo in readme.md
- Mongo delivers the last_update of an company as a string not as date.

Added:
- Entrypoint description in readme.md
This commit is contained in:
2023-09-13 19:14:36 +02:00
committed by GitHub
parent 507647d164
commit fea31e543b
4 changed files with 21 additions and 5 deletions

View File

@ -12,6 +12,13 @@
See the [CONTRIBUTING.md](CONTRIBUTING.md) about how code should be formatted and what kind of rules we set ourselves.
## Available entrypoints
The project has currently the following entrypoint available:
- data-transfer > Transfers all the data from the mongodb into the sql db to make it available as production data.
- reset-sql > Resets all sql tables in the connected db.
## DB Connection settings
To connect to the SQL db see [sql/connector.py](./src/aki_prj23_transparenzregister/utils/sql/connector.py)
@ -20,7 +27,7 @@ To connect to the Mongo db see [connect]
Create a `secrets.json` in the root of this repo with the following structure (values to be replaces by desired config):
```json
{
{
"postgres": {
"username": "postgres",
"password": "postgres",