Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad-mtos committed Jan 9, 2025
1 parent ca3cdf3 commit fc527fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions memory-store/migrations/000022_vector_search.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ BEGIN
END IF;

IF owner_types IS NOT NULL AND owner_ids IS NOT NULL AND
array_length(owner_types, 1) != array_length(owner_ids, 1) AND
array_length(owner_types, 1) <= 0 THEN
array_length(owner_types, 1) != array_length(owner_ids, 1) THEN
RAISE EXCEPTION 'owner_types and owner_ids arrays must have the same length';
END IF;

Expand Down

0 comments on commit fc527fa

Please sign in to comment.