From 4e6f7a05dedec2b77ae471d78d599c352dd5e5b2 Mon Sep 17 00:00:00 2001 From: Amine Ben hammou Date: Mon, 23 Oct 2017 16:49:36 +0000 Subject: [PATCH] changing the tables prefix to "mp_" on CircleCI --- .circleci/setup.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/setup.bash b/.circleci/setup.bash index e7eb17c109..00ae6ca9ef 100644 --- a/.circleci/setup.bash +++ b/.circleci/setup.bash @@ -37,6 +37,7 @@ function setup { ./wp-cli.phar core download --allow-root --path=wordpress # Generate `wp-config.php` file with debugging enabled echo "define(\"WP_DEBUG\", true);" | ./wp-cli.phar core config --allow-root --dbname=wordpress --dbuser=root --dbhost=127.0.0.1 --path=wordpress --extra-php + sed -i "s/\$table_prefix = 'wp_';/\$table_prefix = 'mp_';/" ./wordpress/wp-config.php # Install WordPress ./wp-cli.phar core install --allow-root --admin_name=admin --admin_password=admin --admin_email=admin@mailpoet.loc --url=http://mailpoet.loc:8080 --title=WordPress --path=wordpress # Softlink plugin to plugin path