Gizra / euei-euwi-migrate

Migrate from euei.net and euwi.net to C4D
0 stars 0 forks source link

Add post migrate script #208

Open amitaibu opened 9 years ago

amitaibu commented 9 years ago
solker commented 9 years ago

Script added to README Run from /sites/all/modules/custom/euei-euwi-migrate sh postscript.sh

#!/bin/bash

# Restore password for admin to default password.
echo "Restore password for the admin\n"
drush sql-query "UPDATE users SET pass='3e2f6687be0716873562cc35ab6ec778' WHERE uid='1'"

# Disable and delete migration modules.
echo "Disable migration modules"
yes | drush dis migrate_eu migrate_ui migrate 

# Disable and delete migration modules.
echo "Uninstall migration modules"
yes | drush pmu migrate_eu migrate_ui migrate 

# Remove postifx `test` for user emails.
echo "Remove postfix .test for user emails"
drush scr export_data/prepare/protect_email.php --unprotect=1
solker commented 9 years ago

@amitaibu I think we can remove postfix .test for user emails.

amitaibu commented 9 years ago

indeed, lets add it to the script as-well

solker commented 9 years ago

@amitaibu done, tested.