feat: add missing triggers and events factories

This commit is contained in:
Nybkox
2025-01-03 16:26:10 +01:00
parent ceb6a88964
commit 576a4fc2e5
4 changed files with 26 additions and 1 deletions

View File

@@ -139,6 +139,15 @@ BEGIN
END
$$ LANGUAGE plpgsql;`,
},
{
label: 'New trigger',
sql: `
CREATE OR REPLACE TRIGGER trigger_name
AFTER INSERT ON "table_name" FOR EACH ROW
BEGIN
END trigger_name;
`,
},
];
},