Hotfix: quote reserved column name lead in lead_marks (MySQL 8 boot failure)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -147,7 +147,7 @@ async function bootstrap() {
|
||||
INDEX (adoptee), INDEX (adopter), INDEX (status)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`); // holding-tank adoptions
|
||||
await q(`CREATE TABLE IF NOT EXISTS lead_marks (
|
||||
lead VARCHAR(190) PRIMARY KEY, sponsor VARCHAR(190) NULL, contacted_ts BIGINT NULL, warned_ts BIGINT NULL
|
||||
\`lead\` VARCHAR(190) PRIMARY KEY, sponsor VARCHAR(190) NULL, contacted_ts BIGINT NULL, warned_ts BIGINT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`); // dormant-lead rescue: manual "contacted" marks + warning sent
|
||||
await q(`CREATE TABLE IF NOT EXISTS prospects (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user