Skip to content

Updating

Serghei Iakovlev edited this page Dec 25, 2016 · 8 revisions

Schema Changes

Changes to the database that you need to make if your Phosphorum version is...

  • Older than 2.0.0: schemas/upgrade-to-2.0.0.sql
  • Older than 2.0.1: schemas/upgrade-to-2.0.1.sql

Using Composer

We commit Phosphorum's composer.lock (along with composer.json) into GitHub repository. Having it in the repository assures you that each developer is using the same versions. This means also that the deployment system always will install the expected versions of dependencies. This is why after you pulled latest changes from the git repository you have to run:

$ composer install

instead of

$ composer update

The complete command format is suitable for deployment in production:

$ composer install --prefer-dist --no-interaction --no-suggest -o --no-dev
Clone this wiki locally