Skip to content

Commit

Permalink
Ensure fulltext catalog is dropped even if fulltext index drop fails
Browse files Browse the repository at this point in the history
  • Loading branch information
john-fletcher-aot committed Sep 20, 2023
1 parent 997286b commit 94609ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions database/mssql/scripts/versions/revert/v_8_ddl_revert.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ GO
-- Add TRY CATCH as a TEMP solution untill Full Text Search is installed in DB.
BEGIN TRY
DROP FULLTEXT INDEX ON [permit].[ORBC_PERMIT_DATA]
END TRY

BEGIN CATCH
PRINT ERROR_MESSAGE()
END CATCH

BEGIN TRY
DROP FULLTEXT CATALOG PermitDataFTCat
END TRY

Expand Down

0 comments on commit 94609ac

Please sign in to comment.