Ignore SQLite databases when backing up the db

This commit is contained in:
James Brooks
2016-08-02 11:00:39 +01:00
parent 6c22c52e3a
commit 8d86c5e072

View File

@@ -83,6 +83,13 @@ class CommandSubscriber
$command->line('Settings cache cleared!');
// SQLite does not backup.
if ($this->config->get('database.default') === 'sqlite') {
$command->line('Backup skipped: SQLite is not supported.');
return;
}
$command->line('Backing up database...');
try {