Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+14
-1
@@ -19,4 +19,17 @@
|
||||
-- * Rollback drops the extension via `DROP EXTENSION IF EXISTS vector CASCADE`;
|
||||
-- CASCADE destroys every `vec_*` table, so back up before reverting.
|
||||
|
||||
CREATE EXTENSION IF NOT EXISTS vector;
|
||||
-- pgvector is no longer used: the KI->MCP pivot (AD-26) removed `packages/vector-store`
|
||||
-- and the runtime `vec_*` tables, so nothing depends on this extension anymore. We keep
|
||||
-- this already-applied migration in history (never delete/rename an applied migration),
|
||||
-- but guard the CREATE so a from-scratch `migrate deploy` against a Postgres WITHOUT the
|
||||
-- pgvector binaries (CI Docker-smoke, staging/DR, fresh dev) no longer fails with P3018
|
||||
-- ("extension vector is not available"). On prod the extension already exists -> no-op.
|
||||
DO $$
|
||||
BEGIN
|
||||
CREATE EXTENSION IF NOT EXISTS vector;
|
||||
EXCEPTION
|
||||
WHEN feature_not_supported OR undefined_file OR insufficient_privilege THEN
|
||||
RAISE NOTICE 'pgvector unavailable; skipping (no longer used after AD-26).';
|
||||
END
|
||||
$$;
|
||||
Reference in new issue
Block a user