mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-19 08:26:23 -07:00
Remove references to gochan-migrate -updatedb (since it is now handled automatically)
This commit is contained in:
parent
26c44f1d3d
commit
5ce9d410d4
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ See [config.md](config.md)
|
|||
Gochan has a built-in [Lua](https://lua.org) interpreter and an event system to allow for extending your Gochan instance's functionality. See [plugin_api.md](./plugin_api.md) for a list of functions and events, and information about when they are used.
|
||||
|
||||
## Migration
|
||||
If you run gochan v3.0 or newer and get a message telling you that your database is out of date, please run gochan-migration -updatedb. If this does not work, please contact the developers.
|
||||
If you use a version of gochan older than v3.0, you will need to run the migration tool to update your database to the latest version. The migration tool is included in the gochan release, and can be run with `gochan-migration -pre2021`. This is currently the only available migration option, but more are coming soon.
|
||||
|
||||
## For developers (using Vagrant)
|
||||
1. Install Vagrant and Virtualbox. Vagrant lets you create a virtual machine and run a custom setup/installation script to make installation easier and faster.
|
||||
|
|
|
@ -22,7 +22,7 @@ const (
|
|||
var (
|
||||
ErrInvalidVersion = errors.New("database contains database_version table but zero or more than one versions were found")
|
||||
ErrCorruptedDB = errors.New("database contains gochan prefixed tables but is missing versioning tables (possibly corrupted)")
|
||||
ErrDeprecatedDB = errors.New("database layout is deprecated, please run gochan-migration -updatedb")
|
||||
ErrDeprecatedDB = errors.New("database layout is deprecated")
|
||||
ErrInvalidDBVersion = errors.New("invalid version flag returned by GetCompleteDatabaseVersion()")
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Shell script that downloads a previous gochan release for testing gochan-migration -updatedb
|
||||
# Shell script that downloads a previous gochan release for testing gochan database updating
|
||||
# This should only be used in a development environment
|
||||
|
||||
set -euo pipefail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue