Files
madbase/migrations/20260312000003_add_function_runtime.sql

6 lines
316 B
SQL

-- 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;