title: sqlalchemy trigger automatic insert after delete on different table
body: <p>I'm using SQLAlchemy with python, wondering if it is possible to automatically insert a record into table <code>Deleted Users</code> when a record has been deleted from table <code>Users</code>.</p>
  
  <p>I know that using a foreign key, I can use the on_delete attribute to delete records from connected tables but I need to insert record.</p>
  
  <p>For the sake of simplicity let's assume both tables have the same schema (2 columns; <code>user_id</code> and <code>username</code>.  </p>
  
  <p>Thanks</p>