sudo gitlab-rake db:migrate

Category: GitLab

sudo gitlab-rake db:migrate

Run pending database migrations

Applies database migrations that the last upgrade queued but has not run yet. Migrations change the schema, so the app may need a restart afterward. Rake tasks are GitLab's built-in maintenance scripts, run through the gitlab-rake wrapper.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.