Revert "I got triggers and actions mixed up in these queries"
Revert "I got triggers and actions mixed up in these queries"

Because it appears that in fact I had them in the correct order,
though SQLAlchemy does them in an unintuitive order.

This reverts commit 4b3e8e5e526f1e2143c6b9943f02ecbf788c9511.

LogicalDash/LiSE,LogicalDash/LiSE