38873-vm/db/migrations/15_faqs_table.sql
Flatlogic Bot d3e6f9d8d1 v30
2026-02-28 19:41:07 +00:00

15 lines
920 B
SQL

-- Migration: Create faqs table for AI assistant knowledge base
CREATE TABLE IF NOT EXISTS faqs (
id INT AUTO_INCREMENT PRIMARY KEY,
keywords TEXT NOT NULL,
answer TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Seed some initial FAQs
INSERT INTO faqs (keywords, answer) VALUES
('What is Gatsby?', 'Gatsby is an exclusive student-led startup network for university students and graduates to connect, hire talent, and raise capital.'),
('How can I raise money?', 'Startups can launch a funding round from their dashboard. Investors can browse startups and invest in verified ventures.'),
('Who can join Gatsby?', 'Any student or graduate with a valid university email address can join and become a founder or investor.'),
('What is the minimum investment?', 'The minimum investment is set by the founder of each startup round, but is typically around £100 for micro-investments.');