add index.php
delete index.php, modify config/database.yml
delete index.php, modify config/database.yml