Skip to content

Database migrations

Mathew Evans edited this page Aug 22, 2025 · 7 revisions

Important

This page has been moved. Please update your bookmarks.

Click here to be redirected to our new on-premises documentation.


View outdated content

BEFORE RUNNING ANY MIGRATIONS BACKUP YOUR DATA!!!

Some times we need to change the schema of data in the database as we evolve ShareLaTeX, migration scripts are used to automate this process. They will have been run on ShareLaTeX.com first which is the largest instance of ShareLaTeX in the world so most eventualities will have been encounter already, however we make no guarantees over your data. Please backup before running any migrations.

Using ShareLaTeX in official Docker Release

When upgrading to a new docker image any migrations which have not yet been run will be automatically executed, this may take some time depending on the size of your dataset, tailing the logs will give tell you progress.

Clone this wiki locally