Skip to main content
Run any Skill in Manus
with one click

create-postgres-function

Stars7
Forks0
UpdatedJune 18, 2026 at 03:01

Create or version a Postgres FUNCTION (or PROCEDURE, or TRIGGER) in the Vinta Schedule API through the bespoke raw-SQL framework at `common/raw_sql_migration_managers.py`. Use for DB-side computation that ORM expressions can't model: timezone conversions, recurring-event occurrence calculation, aggregate functions, complex CASE-driven derivations, custom operators. Skip for one-shot computations that belong in Python services and for pgvector / extension functions installed via DDL (use a stock migration for those).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly