Skip to content

Commit

Permalink
MSEARCH-794: fix db schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
mukhiddin-yusuf committed Aug 21, 2024
1 parent 6749772 commit dc6b57a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
<column name="status" type="VARCHAR(20)">
<constraints nullable="false"/>
</column>
<column name="total_merge_ranges" type="int eger"/>
<column name="total_merge_ranges" type="integer"/>
<column name="processed_merge_ranges" type="integer"/>
<column name="total_upload_ranges" type="integer"/>
<column name="processed_upload_ranges" type="integer"/>
Expand Down Expand Up @@ -298,11 +298,4 @@
</preConditions>
<sqlFile path="update-reindex-status-trigger.sql" relativeToChangelogFile="true" splitStatements="false"/>
</changeSet>

<changeSet id="MSEARCH-794@@create-reindex_status-trigger-fix" author="Mukhiddin_Yusupov">
<preConditions onFail="MARK_RAN">
<tableExists tableName="reindex_status"/>
</preConditions>
<sqlFile path="update-reindex-status-trigger-fix.sql" relativeToChangelogFile="true" splitStatements="false"/>
</changeSet>
</databaseChangeLog>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $$ LANGUAGE plpgsql;

DROP TRIGGER IF EXISTS reindex_status_updated_trigger ON reindex_status CASCADE;
CREATE TRIGGER reindex_status_updated_trigger
BEFORE UPDATE
BEFORE UPDATE OF processed_merge_ranges, processed_upload_ranges
ON reindex_status
FOR EACH ROW
EXECUTE FUNCTION update_reindex_status_trigger();

0 comments on commit dc6b57a

Please sign in to comment.