Use pgvector image with extensions-only init, seed legacy users before project/chat fixtures, and align test compose with goose-only schema bootstrap. Co-authored-by: Cursor <cursoragent@cursor.com>
4 lines
182 B
SQL
4 lines
182 B
SQL
-- 各环境 Postgres 容器首次启动时仅安装扩展;业务表由 goose 迁移链创建。
|
|
CREATE EXTENSION IF NOT EXISTS vector;
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|