From 89861dd4a623f6566d047e8f299846de62c7467b Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Thu, 14 Mar 2024 16:16:05 +0100 Subject: [PATCH] update readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed422d4..56b9a5c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Create a database and relevant tables before first-time program execution using invoke create-database ``` - > :warning: This script drops all existing tables and creates new ones. + > **Note:** The script creates `POSTGRES_DB` if not exists and applies `./database/create_tables.sql` script. 2. **Initialize `bot_logs` table**: @@ -106,6 +106,12 @@ Create a database and relevant tables before first-time program execution using invoke init-database --mins-ago 20 ``` +It is possible to drop database using: + +``` +invoke drop-database +``` + ### AWS Keyspaces/Cassandra Configuration To connect to AWS Keyspaces/Cassandra, the following environment variables need to be set: