Skip to content

Commit

Permalink
Copy the external_id to the description of existing languageToolCore …
Browse files Browse the repository at this point in the history
…rules, making them discoverable by search
  • Loading branch information
jonathonherbert committed Nov 5, 2024
1 parent 44a7638 commit 8f1ab96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/rule-manager/conf/evolutions/default/16.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- !Ups

UPDATE rules_draft SET description = external_id WHERE rule_type = 'languageToolCore'

-- !Downs

UPDATE rules_draft SET description = '' WHERE rule_type = 'languageToolCore'

0 comments on commit 8f1ab96

Please sign in to comment.