change console.php and add migrations