Skip to content

Commit

Permalink
Merge pull request #29 from tenantcloud/fix/larave11-readme
Browse files Browse the repository at this point in the history
fix: Fixed readme
  • Loading branch information
tcmbilozub authored Feb 27, 2025
2 parents 8a7211f + 4129855 commit c17ac52
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]

This package is designed for high-load applications and optimizes queries with soft deletes by utilizing a boolean field for indexing, which is more efficient than using unique timestamps.
Expand All @@ -23,7 +20,7 @@ Then create and run migration to add soft delete boolean field

```php
Schema::table('users', function (Blueprint $table) {
$table->boolean('is_deleted')->default(0)->index();
$table->boolean('is_deleted')->default(false)->index();
});
```

Expand All @@ -38,12 +35,9 @@ Also you can change default column name `is_deleted` to any other by setting sta
Versions compatibility

```bash
For Laravel 5 - laravel-boolean-softdeletes 0.1.2
For Laravel 6 - laravel-boolean-softdeletes 1.0.0
For Laravel 7 - laravel-boolean-softdeletes 2.0.0
For Laravel 8 - laravel-boolean-softdeletes 3.*
For Laravel 9 - laravel-boolean-softdeletes 4.*
For Laravel 10 - laravel-boolean-softdeletes 5.*
For Laravel 11 - laravel-boolean-softdeletes 6.*
```

## Change log
Expand All @@ -69,14 +63,9 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio

[ico-version]: https://img.shields.io/packagist/v/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/tenantcloud/laravel-boolean-softdeletes/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
[link-packagist]: https://packagist.org/packages/tenantcloud/laravel-boolean-softdeletes
[link-travis]: https://travis-ci.org/tenantcloud/laravel-boolean-softdeletes
[link-scrutinizer]: https://scrutinizer-ci.com/g/tenantcloud/laravel-boolean-softdeletes/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/tenantcloud/laravel-boolean-softdeletes
[link-downloads]: https://packagist.org/packages/tenantcloud/laravel-boolean-softdeletes
[link-author]: https://github.com/ivankolodii
[link-contributors]: ../../contributors

0 comments on commit c17ac52

Please sign in to comment.