Repository navigation
0.15.0
What's New
Custom Statement Delimiter
You can now specify a custom delimiter for splitting SQL statements in migration files. This is useful when working with stored procedures, functions, or triggers that contain semicolons in their body.
Add -- jetbase: delimiter=<delimiter> at the top of your migration file:
-- jetbase: delimiter=~
CREATE OR REPLACE FUNCTION set_updated_at()
RETURNS TRIGGER AS $$
BEGIN
NEW.updated_at = NOW();
RETURN NEW;
END;
$$ LANGUAGE plpgsql;~