Coaching layer + tools: coach your directs (rungs, stalled, one-click nudges), automatic member nudges + weekly sponsor digest, prospects list, per-angle link stats, broadcast templates, Qualified Start calculator, Telegram proof feed, send-failed alerts, admin P&L pane, automatic credit burner (ethers), username lock, home-page comparison, printable checklist, wall link in Promo tools
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -129,6 +129,27 @@ async function bootstrap() {
|
||||
created BIGINT NOT NULL,
|
||||
INDEX (email)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`);
|
||||
await q(`CREATE TABLE IF NOT EXISTS nudges (email VARCHAR(190) PRIMARY KEY, rung INT NOT NULL, ts BIGINT NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`);
|
||||
await q(`CREATE TABLE IF NOT EXISTS digests (email VARCHAR(190) PRIMARY KEY, ts BIGINT NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`);
|
||||
await q(`CREATE TABLE IF NOT EXISTS prospects (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
owner_email VARCHAR(190) NOT NULL,
|
||||
name VARCHAR(120) NOT NULL,
|
||||
contact VARCHAR(120) NULL,
|
||||
status VARCHAR(20) NOT NULL DEFAULT 'new',
|
||||
note VARCHAR(400) NULL,
|
||||
next_ts BIGINT NULL,
|
||||
created BIGINT NOT NULL,
|
||||
updated BIGINT NOT NULL,
|
||||
INDEX (owner_email)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`);
|
||||
await q(`CREATE TABLE IF NOT EXISTS join_views (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
token VARCHAR(40) NOT NULL,
|
||||
angle VARCHAR(20) NOT NULL DEFAULT '',
|
||||
ts BIGINT NOT NULL,
|
||||
INDEX (token, ts)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`);
|
||||
await q(`CREATE TABLE IF NOT EXISTS visit_seen (
|
||||
campaign_id INT NOT NULL,
|
||||
email VARCHAR(190) NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user