pantheon-quicksilver/sanitize-db
Composer 安装命令:
composer require pantheon-quicksilver/sanitize-db
包简介
Sanitize user data after cloning a database to non-production environments.
README 文档
README
This script is used to sanitize user data after cloning the database into a non-production environment. Behind the scenes, it uses Drush's sql-sanitize function for Drupal sites, and a special query in WordPress (derived from this blog post).
Installation
This project is designed to be included from a site's composer.json file, and placed in its appropriate installation directory by Composer Installers.
In order for this to work, you should have the following in your composer.json file:
{
"require": {
"composer/installers": "^1"
},
"extra": {
"installer-paths": {
"web/private/scripts/quicksilver": ["type:quicksilver-script"]
}
}
}
The project can be included by using the command:
composer require pantheon-quicksilver/sanitize-db
Example pantheon.yml
api_version: 1 workflows: clone_database: after: - type: webphp description: Sanitize database script: private/scripts/quicksilver/pantheon-quicksilver/sanitize-db.php
统计信息
- 总下载量: 161
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-28