zaporylie/drupal-composer-sql-sync-policy

Prevent syncing in wrong direction (i.e. from @dev to @prod).

0.1.0 2017-02-16 21:31 UTC

This package is auto-updated.

Last update: 2024-03-26 01:25:47 UTC


README

Packagist

Add following to your drushrc.php:

$options['env-flow'] = array(
  '@prod' => array(),
  '@staging' => array('@prod'),
  '@dev' => array('@prod', '@staging'),
  '@local' => array('@prod', '@staging', '@dev'),
);

You can modify list of environments.