Skip to content

Database migrations

Henry Oswald edited this page Nov 8, 2016 · 6 revisions

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