mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
✨ feat: add migration to enable pg_search extension
This commit is contained in:
6
packages/database/migrations/0090_enable_pg_search.sql
Normal file
6
packages/database/migrations/0090_enable_pg_search.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Custom SQL migration file, put your code below! --
|
||||
DO $$ BEGIN
|
||||
CREATE EXTENSION IF NOT EXISTS pg_search;
|
||||
EXCEPTION WHEN OTHERS THEN
|
||||
RAISE NOTICE 'pg_search extension not available, skipping';
|
||||
END $$;
|
||||
12426
packages/database/migrations/meta/0090_snapshot.json
Normal file
12426
packages/database/migrations/meta/0090_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -630,6 +630,13 @@
|
||||
"when": 1772723999146,
|
||||
"tag": "0089_add_api_key_hash",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 90,
|
||||
"version": "7",
|
||||
"when": 1773109704611,
|
||||
"tag": "0090_enable_pg_search",
|
||||
"breakpoints": true
|
||||
}
|
||||
],
|
||||
"version": "6"
|
||||
|
||||
Reference in New Issue
Block a user