Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3e79230
authored
May 15, 2023
by
ShengYan, Zhang
Committed by
Archer
May 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: correct sql script.
parent
5f66f452
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/deploy/mac.md
+3
-3
No files found.
docs/deploy/mac.md
View file @
d3e79230
...
@@ -67,7 +67,7 @@ docker run --name mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=username -e
...
@@ -67,7 +67,7 @@ docker run --name mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=username -e
**3、部署 pgsql**
**3、部署 pgsql**
```
```
docker run -it --name pg -e "POSTGRES_PASSWORD=xxx" -e POSTGRES_USER=xxx -p 8100:5432 -v ~/fastgpt/pg/data:/var/lib/postgresql/data -d octoberlan/pgvector:v0.4.1
docker run -it --name pg -e "POSTGRES_
DB=fastgpt" -e "POSTGRES_
PASSWORD=xxx" -e POSTGRES_USER=xxx -p 8100:5432 -v ~/fastgpt/pg/data:/var/lib/postgresql/data -d octoberlan/pgvector:v0.4.1
```
```
进 pgsql 容器运行
进 pgsql 容器运行
...
@@ -88,8 +88,8 @@ CREATE TABLE modelData (
...
@@ -88,8 +88,8 @@ CREATE TABLE modelData (
);
);
-- create index
-- create index
CREATE INDEX modelData_status_index ON modelData (status);
CREATE INDEX modelData_status_index ON modelData (status);
CREATE INDEX modelData_modelId_index ON modelData (model
I
d);
CREATE INDEX modelData_modelId_index ON modelData (model
_i
d);
CREATE INDEX modelData_userId_index ON modelData (user
I
d);
CREATE INDEX modelData_userId_index ON modelData (user
_i
d);
EOSQL
EOSQL
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment