2024-11-22 20:48:40 +00:00
|
|
|
# Database Automation
|
|
|
|
|
2024-11-22 21:14:00 +00:00
|
|
|
This repository contains scripts for performing daily updates to the following database tables:
|
|
|
|
|
|
|
|
* [News](https://moshferatu.dev/moshferatu/database/src/branch/main/database/news/create_table.sql)
|
|
|
|
* [OHLC](https://moshferatu.dev/moshferatu/database/src/branch/main/database/ohlc/create_table.sql)
|
|
|
|
|
|
|
|
These scripts are meant to be run as Docker containers, and the necessary Dockerfiles are included.
|
|
|
|
|
|
|
|
Docker Compose files are available as well in the [Docker Compose repository:](https://moshferatu.dev/moshferatu/docker-compose)
|
|
|
|
|
|
|
|
* [News](https://moshferatu.dev/moshferatu/docker-compose/src/branch/main/update-news-data.yaml)
|
|
|
|
* [OHLC](https://moshferatu.dev/moshferatu/docker-compose/src/branch/main/update-ohlc-data.yaml)
|
|
|
|
|
|
|
|
There are also backfill scripts available for recovering from issues where data was not updated as expected.
|
|
|
|
|
2024-11-22 20:49:41 +00:00
|
|
|
## Dependencies
|
|
|
|
|
2024-11-22 21:02:28 +00:00
|
|
|
* [Database](https://moshferatu.dev/moshferatu/database)
|
|
|
|
* [News](https://moshferatu.dev/moshferatu/news-automation)
|
2024-11-22 20:49:41 +00:00
|
|
|
* [OHLC](https://moshferatu.dev/moshferatu/ohlc)
|
2024-11-22 21:02:28 +00:00
|
|
|
|
2024-11-22 20:48:40 +00:00
|
|
|
---
|