-- Add placeholder and helpText columns to assertions table
DO $$
BEGIN
    IF NOT EXISTS (
        SELECT 1
        FROM information_schema.columns
        WHERE table_name='assertions' AND column_name='placeholder'
    ) THEN
        ALTER TABLE assertions ADD COLUMN placeholder TEXT;
    END IF;
END$$;

DO $$
BEGIN
    IF NOT EXISTS (
        SELECT 1
        FROM information_schema.columns
        WHERE table_name='assertions' AND column_name='help_text'
    ) THEN
        ALTER TABLE assertions ADD COLUMN help_text TEXT;
    END IF;
END$$; 