Skip to content

Commit 9c554c4

Browse files
committed
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.
1 parent aba7a47 commit 9c554c4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Migration 000011 Down: pg_search extension update cannot be rolled back
2+
-- No-op: ALTER EXTENSION UPDATE has no reverse operation
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Migration 000011: Update pg_search extension to latest version
2+
-- Equivalent to: psql -c 'ALTER EXTENSION pg_search UPDATE;'
3+
4+
ALTER EXTENSION pg_search UPDATE;

0 commit comments

Comments
 (0)