-
Notifications
You must be signed in to change notification settings - Fork 157
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
3 changed files
with
19 additions
and
1 deletion.
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
Empty file.
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,17 @@ | ||
# Upgrade from Black Candy v2 to v3 | ||
|
||
There are a lot of breaking infrastructure changes in Black Candy v3, including using SQLite as the default database, remove the dependency on Redis and Sidekiq. Also remove the dependencies of Nginx and Docker Compose to running Black Candy server. | ||
|
||
Because Black Candy v3 support both SQLite and PostgreSQL as database, and Blakc Candy v2 only support PostgreSQL. So depending on whether you want to migrate to SQLite as database in v3, you can choose different upgrade methods. | ||
|
||
## Keep using PostgreSQL as database | ||
|
||
> [!WARNING] | ||
> Because Black Candy v3 need to support both SQLite and PostgreSQL, and some data in v2 is not compatible with SQLite, if you keep using PostgreSQL as database, there are still some small data you are going to lose after upgrade. Including: all settings. | ||
1. Pull the v3 image from remote: | ||
|
||
```shell | ||
docker pull ghcr.io/blackcandy-org/blackcandy:3.0.0 | ||
``` | ||
|