I am using Flask SQLAlchemy and Postgres, I was wondering how can I delete data from a table if it goes back, for example 7 days from the CURRENT date.
My table has 3 rows, name, hobby and a date_posted, all of them are STRING.
The datetime format I am using is
"%Y-%m-%d %H:%M:%S"