add migration template

config database.php with online-host and add migration templates