Skip to content

Commit

Permalink
fix: explicitly check for version when chosing vectorizers to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Askir committed Feb 20, 2025
1 parent 94f08cd commit 1293d44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/extension/sql/idempotent/012-vectorizer-int.sql
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ begin
v.queue_table,
v.config
from ai.vectorizer v
where string_to_array((v.config->>'version'), '.')::int[] < string_to_array('0.8.1', '.')::int[]
)
loop
raise notice 'Upgrading trigger function for vectorizer ID %s from version %s', _vec.id, _vec.config->>'version';
Expand Down

0 comments on commit 1293d44

Please sign in to comment.