- JobCardStack: expose resetCard() to restore card after a blocked action - JobReviewView: call resetCard() when approve/reject returns false; prevents card going blank after demo guard blocks the action - useApi: add 'demo-blocked' to ApiError union; return truthy error from the 403 interceptor so store callers bail early (no optimistic UI update) - ApplyView: add HintChip to desktop split-pane layout (was mobile-only) - HintChip: fix text color — --app-primary-light is near-white in light theme, causing invisible text; switch to --color-text for cross-theme contrast - vite.config.ts: support VITE_API_TARGET env var for dev proxy override - migrations/006: add date_posted, hired_feedback columns and references_ table (columns existed in live DB but were missing from migration history) - DemoBanner: commit component and test (were untracked)
22 lines
791 B
SQL
22 lines
791 B
SQL
-- Migration 006: Add columns and tables present in the live DB but missing from migrations
|
|
-- These were added via direct ALTER TABLE after the v0.8.5 baseline was written.
|
|
|
|
-- date_posted: used for ghost-post shadow-score detection
|
|
ALTER TABLE jobs ADD COLUMN date_posted TEXT;
|
|
|
|
-- hired_feedback: JSON blob saved when a job reaches the 'hired' outcome
|
|
ALTER TABLE jobs ADD COLUMN hired_feedback TEXT;
|
|
|
|
-- references_ table: contacts who can provide references for applications
|
|
CREATE TABLE IF NOT EXISTS references_ (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
name TEXT NOT NULL,
|
|
relationship TEXT,
|
|
company TEXT,
|
|
email TEXT,
|
|
phone TEXT,
|
|
notes TEXT,
|
|
tags TEXT,
|
|
prep_email TEXT,
|
|
role TEXT
|
|
);
|