persist an action. Regretting using a db I don't understand