zaporylie/drupal-composer-sql-sync-policy

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

Maintainers

👁 zaporylie

Package info

github.com/zaporylie/drupal-composer-sql-sync-policy

Type:drupal-drush

pkg:composer/zaporylie/drupal-composer-sql-sync-policy

Statistics

Installs: 146

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2017-02-16 21:31 UTC

Requires

None

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0+ 050701a0d253a0fc4647cacef72d84172648be03

This package is auto-updated.

Last update: 2026-06-26 06:31:41 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.