more GORM-friendly schema, add CreatedAt to transaction