summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-11-05 12:54:54 -0600
committertechknowlogick <techknowlogick@gitea.io>2019-11-05 13:54:54 -0500
commit36b8c081f6b9b642bc068158b3a893d027d06ba8 (patch)
treed6edde90008b1122527e57d0805b5a78caccbe49 /docs/content/doc/usage
parent9395805512459868b91af7ce0d9077bbbd07c0e5 (diff)
downloadgitea-36b8c081f6b9b642bc068158b3a893d027d06ba8.tar.gz
gitea-36b8c081f6b9b642bc068158b3a893d027d06ba8.zip
Add migrate command to docs (#8842)
* Add migrate command to docs Signed-off-by: jolheiser <john.olheiser@gmail.com> * Link to CLI Signed-off-by: jolheiser <john.olheiser@gmail.com> * Clarify idempotence Signed-off-by: jolheiser <john.olheiser@gmail.com> * Sneak in convert command Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 0955680af2..1bfaf8119b 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -281,3 +281,10 @@ provided key. You should also set the value
NB: opensshd requires the gitea program to be owned by root and not
writable by group or others. The program must be specified by an absolute
path.
+
+#### migrate
+Migrates the database. This command can be used to run other commands before starting the server for the first time.
+This command is idempotent.
+
+#### convert
+Converts an existing MySQL database from utf8 to utf8mb4.