Merge pull request #1081 from Eric-Brison/3.3-E4461

feat(database): correct trigger generation (fixes #4461)