Skip to content

trigger for translation cleanup#1088

Open
raphael-goetz wants to merge 3 commits into
mainfrom
#987-trigger-for-translation-cleanup
Open

trigger for translation cleanup#1088
raphael-goetz wants to merge 3 commits into
mainfrom
#987-trigger-for-translation-cleanup

Conversation

@raphael-goetz

Copy link
Copy Markdown
Member

Resolves: #987

@raphael-goetz raphael-goetz self-assigned this Jun 27, 2026
@raphael-goetz raphael-goetz marked this pull request as ready for review June 27, 2026 08:57
@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2665724329

Status: Failed
Duration: 1 minutes

Job summaries

rubocop

933 files inspected, 1 offense detected, 1 offense corrected

@raphael-goetz raphael-goetz force-pushed the #987-trigger-for-translation-cleanup branch from 3141f34 to 926e4a6 Compare June 27, 2026 09:11
trigger_name = "trigger_#{function_name}"

execute <<~SQL.squish
CREATE OR REPLACE FUNCTION #{quote_column_name(function_name)}()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just create the function once and use parameters?

Comment thread db/migrate/20260627120000_add_translation_cleanup_triggers.rb Outdated
Co-authored-by: Niklas van Schrick <mc.taucher2003@gmail.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 9, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add trigger for translation cleanup

3 participants