-- Add runtime column to functions table
ALTER TABLE functions.functions ADD COLUMN runtime TEXT NOT NULL DEFAULT 'wasm';

-- Ensure existing functions default to wasm (covered by DEFAULT, but good to be explicit if DEFAULT is removed later)
-- UPDATE functions.functions SET runtime = 'wasm' WHERE runtime IS NULL;
