summaryrefslogtreecommitdiff
path: root/doc/cli.markdown
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-02 21:58:52 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-02 21:58:52 -0500
commit4b22db5400cc5b30696560cd4fc5e44ec845168c (patch)
tree30283fa3171647390d6775c9f1183dbc19627888 /doc/cli.markdown
parentc1f05371bce5797a31a07db1110179d55cf44920 (diff)
Update documentation
Diffstat (limited to 'doc/cli.markdown')
-rw-r--r--doc/cli.markdown19
1 files changed, 19 insertions, 0 deletions
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
+```