summaryrefslogtreecommitdiff
path: root/doc/cli.markdown
diff options
context:
space:
mode:
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
+```