Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: upgrate v0.5.1 doc #1265

Merged
merged 3 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/wechat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dbgpt/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.5.0"
version = "0.5.1"
30 changes: 30 additions & 0 deletions docs/docs/upgrade/v0.5.1.md
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`;
```
3 changes: 3 additions & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,9 @@ const sidebars = {
{
type: 'doc',
id: 'upgrade/v0.5.0',
}, {
type: 'doc',
id: 'upgrade/v0.5.1',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
IS_DEV_MODE = os.getenv("IS_DEV_MODE", "true").lower() == "true"
# If you modify the version, please modify the version in the following files:
# dbgpt/_version.py
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.0")
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.1")

BUILD_NO_CACHE = os.getenv("BUILD_NO_CACHE", "true").lower() == "true"
LLAMA_CPP_GPU_ACCELERATION = (
Expand Down
Loading