- Seller KYC via Stripe Identity (start verification, status check, webhook) - Support ticket system (backend handler + frontend form page) - E2E payout flow integration test (sale → payment → balance → payout) - Migrations: seller_kyc columns, support_tickets table - Frontend: SupportPage with SUMI design, lazy loading, routing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
609 B
SQL
15 lines
609 B
SQL
-- v0.13.5 TASK-MKT-004: Support tickets (contact form)
|
|
|
|
CREATE TABLE IF NOT EXISTS support_tickets (
|
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
user_id UUID REFERENCES users(id) ON DELETE SET NULL,
|
|
email VARCHAR(255) NOT NULL,
|
|
subject VARCHAR(500) NOT NULL,
|
|
message TEXT NOT NULL,
|
|
category VARCHAR(100) DEFAULT 'general',
|
|
status VARCHAR(50) DEFAULT 'open',
|
|
created_at TIMESTAMPTZ DEFAULT NOW()
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_support_tickets_status ON support_tickets(status);
|
|
CREATE INDEX IF NOT EXISTS idx_support_tickets_created ON support_tickets(created_at DESC);
|