feat(migrations): add pg_search extension update migration files

- Create up migration to update pg_search extension to the latest version.
- Create down migration noting that the update cannot be rolled back.
This commit is contained in:
wizardchen
2026-01-30 19:29:36 +08:00
committed by lyingbug
parent aba7a47b20
commit 9c554c4571
2 changed files with 6 additions and 0 deletions
@@ -0,0 +1,2 @@
-- Migration 000011 Down: pg_search extension update cannot be rolled back
-- No-op: ALTER EXTENSION UPDATE has no reverse operation
@@ -0,0 +1,4 @@
-- Migration 000011: Update pg_search extension to latest version
-- Equivalent to: psql -c 'ALTER EXTENSION pg_search UPDATE;'
ALTER EXTENSION pg_search UPDATE;