Skip to content

Commit

Permalink
Merge pull request #4 from ahoicloud/feat/optimize
Browse files Browse the repository at this point in the history
chore: Update package name in README.md and fix typo in Laravel
  • Loading branch information
arnebr authored Jun 16, 2024
2 parents 7552835 + ca35044 commit ac12e7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ahoicloud/laravel-sqlite-optimize/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ahoicloud/laravel-sqlite-optimize/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/ahoicloud/laravel-sqlite-optimize.svg?style=flat-square)](https://packagist.org/packages/ahoicloud/laravel-sqlite-optimize)

This package should optimize SQLite for usage in Larvel. Inspired by the Article from [Italo Baeza Cabrera](https://medium.com/swlh/laravel-optimizing-sqlite-to-dangerous-speeds-ff04111b1f22)
This package should optimize SQLite for usage in Laravel. Inspired by the Article from [Italo Baeza Cabrera](https://medium.com/swlh/laravel-optimizing-sqlite-to-dangerous-speeds-ff04111b1f22)


## Installation
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SqliteBackupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function handle(): int
$backupPath = database_path('backups');

// Create the backup directory if it doesn't exist
if (File::isDirectory($backupPath)) {
if (File::isDirectory($backupPath)===false) {
$this->info('Backup directory created at: '.$backupPath);
File::makeDirectory($backupPath);
}
Expand Down

0 comments on commit ac12e7c

Please sign in to comment.