update
This commit is contained in:
@@ -45,7 +45,7 @@ if row:
|
|||||||
print(f"[INFO] Deleting records older than: {cutoff_date_str}")
|
print(f"[INFO] Deleting records older than: {cutoff_date_str}")
|
||||||
|
|
||||||
# List of tables to delete old data from
|
# List of tables to delete old data from
|
||||||
tables_to_clean = ["data_NPM", "data_NPM_5channels", "data_BME280", "data_envea"]
|
tables_to_clean = ["data_NPM", "data_NPM_5channels", "data_BME280", "data_envea","data_WIND", "data_MPPT"]
|
||||||
|
|
||||||
# Loop through each table and delete old data
|
# Loop through each table and delete old data
|
||||||
for table in tables_to_clean:
|
for table in tables_to_clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user