A discussion about removing specific staff action logs using the console. Isambard is seeking a command to delete system post edit logs for a specified date as an interim solution until a proper feature is implemented. JammyDodger suggests that the logs are stored in the user_histories table, and provides a starting point for the command. Isambard proposes a command using UserHistory.where and JammyDodger provides a similar suggestion, pointing to additional resources for filling in the command details. Alternatively, Isambard considers deleting the logs directly from the Postgres database.
Thanks. In the interim, if a rails console guru can suggest a command to delete system post edit logs for a specified date, that will be helpful to clean the logs.