-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "0.5.0" | ||
version = "0.5.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Upgrade To v0.5.1 | ||
|
||
## Overview | ||
|
||
This guide is for upgrading from v0.5.0 to v0.5.1. If you use SQLite, | ||
you not need to upgrade the database. If you use MySQL, you need to upgrade the database. | ||
|
||
## Prepare | ||
|
||
### Backup Your Database | ||
|
||
To prevent data loss, it is recommended to back up your database before upgrading. | ||
The backup way according to your database type. | ||
|
||
## Upgrade | ||
|
||
### Stop DB-GPT Service | ||
|
||
Stop the DB-GPT service according to your start way. | ||
|
||
### Upgrade Database | ||
|
||
Execute the following SQL to upgrade the database. | ||
|
||
**Add Columns** | ||
```sql | ||
USE dbgpt; | ||
ALTER TABLE dbgpt_serve_flow | ||
ADD COLUMN `error_message` varchar(512) null comment 'Error message' after `state`; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters