File tree Expand file tree Collapse file tree 4 files changed +21
-8
lines changed
Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 11language : php
22php :
33 - ' 7.2'
4+ - ' 7.3'
5+
6+ env :
7+ matrix :
8+ - LARAVEL='^6.0'
9+ - LARAVEL='^7.0'
10+ - LARAVEL='^8.0'
11+
12+ jobs :
13+ exclude :
14+ - php : ' 7.2'
15+ env : LARAVEL='^8.0'
416
517install :
6- - travis_retry composer install --no-interaction
18+ - travis_retry composer require "illuminate/database:${LARAVEL}" --no-update
19+ - travis_retry composer install --prefer-source --no-interaction
720
821before_script :
922 - export CODECOV_TOKEN="6de43b13-9ea8-498c-bb32-c29f3f098517"
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ But note that this is not a silver bullet for solving all n+1 queries. As you ca
6464
6565## Installation
6666
67- Laravel 6.x and 7 .x is supported.
67+ Laravel 6.x, 7.x, and 8 .x is supported.
6868
6969```
7070composer require stancl/laravel-hasmanywithinverse
Original file line number Diff line number Diff line change 2020 }
2121 ],
2222 "require" : {
23- "php" : " ^7.2" ,
24- "illuminate/database" : " ^6.0|^7.0"
23+ "php" : " ^7.2|^7.3 " ,
24+ "illuminate/database" : " ^6.0|^7.0|^8.0 "
2525 },
2626 "require-dev" : {
27- "phpunit/phpunit" : " ^8.0" ,
28- "orchestra/testbench" : " ^5.1 "
27+ "phpunit/phpunit" : " ^8.4|^9. 0" ,
28+ "orchestra/testbench" : " ^4.0|^5.0|^6.0 "
2929 }
3030}
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ public function setUp(): void
1414 parent ::setUp ();
1515
1616 Schema::create ('parents ' , function (Blueprint $ table ) {
17- $ table ->id ('id ' );
17+ $ table ->bigIncrements ('id ' );
1818 });
1919
2020 Schema::create ('children ' , function (Blueprint $ table ) {
21- $ table ->id ('id ' );
21+ $ table ->bigIncrements ('id ' );
2222
2323 $ table ->unsignedBigInteger ('parent_id ' );
2424 });
You can’t perform that action at this time.
0 commit comments