How would you re-model a legacy transaction table to better support subscription-based analytics for Kake?