From 4b22db5400cc5b30696560cd4fc5e44ec845168c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 2 Dec 2016 21:58:52 -0500 Subject: Update documentation --- doc/cli.markdown | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/cli.markdown') diff --git a/doc/cli.markdown b/doc/cli.markdown index 49c19df0..8bd5bde5 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -32,6 +32,9 @@ Available commands: help Displays help for a command list Lists commands worker Execute queue worker + db + db:migrate Execute SQL migrations + db:version Show database schema version export export:daily-project-column-stats Daily project column stats CSV export (number of tasks per column and per day) export:subtasks Subtasks CSV export @@ -203,3 +206,19 @@ Note: Installed files will have the same permissions as the current user ```bash ./cli worker ``` + +### Execute database migrations + +If the parameter `DB_RUN_MIGRATIONS` is set to `false`, you have run the database migrations manually: + +```bash +./cli db:migrate +``` + +### Check database schema version + +```bash +./cli db:version +Current version: 95 +Last version: 96 +``` -- cgit v1.2.3