import Database from 'better-sqlite3'; import { randomBytes } from 'crypto'; const db = new Database('prisma/data/marketing.db'); const id = randomBytes(12).toString('hex').slice(0, 25); const config = { goal: "app_downloads", keyMessage: "Reflect v1.1 goes beyond mood tracking. Guided reflections powered by CBT and ACT therapy frameworks help you understand why you feel the way you do — not just log it. AI-generated reports turn weeks of check-ins into actionable insights you can share with your therapist. Weather tracking reveals how your environment shapes your emotions. All private, all on-device.", socialProof: "Loved by thousands of mindful users on iOS. Featured for beautiful design with 12 curated themes.", targetAudience: "Adults 18-45 interested in mental wellness, self-reflection, journaling, and therapy. Secondary: therapists and counselors looking for client homework tools. People who've tried mood trackers before but found them too shallow.", visualDirection: "warm", competitorApps: "Daylio, Pixels Year in Mood, Moodfit, Bearable", variations: 5, useTrendReport: true, screenshots: [], }; const stmt = db.prepare(` INSERT INTO Campaign (id, name, status, platforms, config, appId, createdAt, updatedAt) VALUES (?, ?, ?, ?, ?, ?, datetime('now'), datetime('now')) `); stmt.run( id, "Reflect v1.1 — Guided Therapy & AI Insights Launch", "draft", JSON.stringify(["instagram", "tiktok"]), JSON.stringify(config), "reflect001" ); console.log("Created campaign:", id); db.close();