🎨 重构用户端前端为vue开发,完善基础类和角色相关接口
This commit is contained in:
@@ -41,8 +41,8 @@ func RegisterTables() {
|
||||
return
|
||||
}
|
||||
|
||||
// 初始化 PostgreSQL 扩展(pgvector)
|
||||
InitPgSQLExtensions()
|
||||
// 初始化 PostgreSQL 扩展(仅创建 pgvector 扩展)
|
||||
InitPgSQLExtension()
|
||||
|
||||
db := global.GVA_DB
|
||||
err := db.AutoMigrate(
|
||||
@@ -100,6 +100,9 @@ func RegisterTables() {
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
// 创建向量索引(必须在 AutoMigrate 之后)
|
||||
CreateVectorIndexes()
|
||||
|
||||
err = bizModel()
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user