removes database.php from staging index