From e3f8a51fe28b90b109a3baf2819437e2f9f30149 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 22 Nov 2024 13:14:00 -0800 Subject: [PATCH] Add description to Database Automation documentation --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 1215851..9865ab8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,19 @@ # Database Automation +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. + ## Dependencies * [Database](https://moshferatu.dev/moshferatu/database)