···131131 this.#stmt_admin_secret_accounts = db.prepare(
132132 `select did,
133133 unixepoch(first_seen) * 1000 as 'first_seen',
134134- role
134134+ role,
135135+ count(*) as 'active_subs',
136136+ sum(p.total_pushes) as 'total_pushes',
137137+ unixepoch(max(p.last_push)) * 1000 as 'last_push'
135138 from accounts
139139+ join push_subs p on (p.account_did = did)
136140 where secret_password = ?
141141+ group by did
137142 order by first_seen desc`);
138143139144 this.#transactionally = t => db.transaction(t).immediate();