Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 92... Zeile 92...
92
     *
92
     *
93
     * @param  \Illuminate\Database\Connection  $connection
93
     * @param  \Illuminate\Database\Connection  $connection
94
     */
94
     */
95
    protected function path(Connection $connection)
95
    protected function path(Connection $connection)
96
    {
96
    {
97
        return tap($this->option('path') ?: database_path('schema/'.$connection->getName().'-schema.dump'), function ($path) {
97
        return tap($this->option('path') ?: database_path('schema/'.$connection->getName().'-schema.sql'), function ($path) {
98
            (new Filesystem)->ensureDirectoryExists(dirname($path));
98
            (new Filesystem)->ensureDirectoryExists(dirname($path));
99
        });
99
        });
100
    }
100
    }
101
}
101
}