Skip to content

Commit c17ac52

Browse files
authored
Merge pull request #29 from tenantcloud/fix/larave11-readme
fix: Fixed readme
2 parents 8a7211f + 4129855 commit c17ac52

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

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

107
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.
@@ -23,7 +20,7 @@ Then create and run migration to add soft delete boolean field
2320

2421
```php
2522
Schema::table('users', function (Blueprint $table) {
26-
$table->boolean('is_deleted')->default(0)->index();
23+
$table->boolean('is_deleted')->default(false)->index();
2724
});
2825
```
2926

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

4037
```bash
41-
For Laravel 5 - laravel-boolean-softdeletes 0.1.2
42-
For Laravel 6 - laravel-boolean-softdeletes 1.0.0
43-
For Laravel 7 - laravel-boolean-softdeletes 2.0.0
44-
For Laravel 8 - laravel-boolean-softdeletes 3.*
4538
For Laravel 9 - laravel-boolean-softdeletes 4.*
4639
For Laravel 10 - laravel-boolean-softdeletes 5.*
40+
For Laravel 11 - laravel-boolean-softdeletes 6.*
4741
```
4842

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

7064
[ico-version]: https://img.shields.io/packagist/v/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
7165
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
72-
[ico-travis]: https://img.shields.io/travis/tenantcloud/laravel-boolean-softdeletes/master.svg?style=flat-square
73-
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
7466
[ico-code-quality]: https://img.shields.io/scrutinizer/g/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
7567
[ico-downloads]: https://img.shields.io/packagist/dt/tenantcloud/laravel-boolean-softdeletes.svg?style=flat-square
7668
[link-packagist]: https://packagist.org/packages/tenantcloud/laravel-boolean-softdeletes
77-
[link-travis]: https://travis-ci.org/tenantcloud/laravel-boolean-softdeletes
78-
[link-scrutinizer]: https://scrutinizer-ci.com/g/tenantcloud/laravel-boolean-softdeletes/code-structure
79-
[link-code-quality]: https://scrutinizer-ci.com/g/tenantcloud/laravel-boolean-softdeletes
8069
[link-downloads]: https://packagist.org/packages/tenantcloud/laravel-boolean-softdeletes
8170
[link-author]: https://github.com/ivankolodii
8271
[link-contributors]: ../../contributors

0 commit comments

Comments
 (0)