Skip to content

Commit 6ebb050

Browse files
author
FreedomKnight
authored
Merge pull request #1 from djoudi/master
Add Support Laravel 6
2 parents 88fb9b7 + 8053925 commit 6ebb050

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323
],
2424
"require": {
2525
"php": "^7.0",
26-
"illuminate/config": ">=5.5.0 || >=6.0.0",
27-
"illuminate/database": ">=5.5.0 || >=6.0.0",
28-
"illuminate/support": ">=5.5.0 || >=6.0.0",
29-
"kalnoy/nestedset": ">=4.3 || >=5.0.0"
26+
"illuminate/config": ">=5.5.0",
27+
"illuminate/database": ">=5.5.0",
28+
"illuminate/support": ">=5.5.0",
29+
"kalnoy/nestedset": "^5.0"
3030
},
3131
"require-dev": {
3232
"codedungeon/phpunit-result-printer": "^0.4.4 || ^0.26.0",
3333
"friendsofphp/php-cs-fixer": "^1.11 || ^2.0.0",
3434
"mockery/mockery": "^0.9.4 || ^1.0.0",
3535
"orchestra/database": "~3.5.0 || ~4.0.0",
3636
"orchestra/testbench": "~3.5.0 || ~4.0.0",
37-
"phpunit/phpunit": "^6.2 || ^7.0 || ^8.0",
37+
"phpunit/phpunit": "^6.2 || ^7.0|^8.0",
3838
"squizlabs/php_codesniffer": "3.*",
3939
"scrutinizer/ocular": "^1.3"
4040
},

database/migrations/0000_00_00_000000_create_categorizable_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ public function up()
1717
$connection = config('categorizable.connection');
1818

1919
Schema::connection($connection)->create('categories', function (Blueprint $table) {
20-
$table->increments('id');
20+
$table->bigIncrements('id');
2121
$table->string('name');
2222

2323
$table->nestedSet();
2424
$table->timestamps();
2525
});
2626

2727
Schema::connection($connection)->create('categorizable', function (Blueprint $table) {
28-
$table->increments('id');
28+
$table->bigIncrements('id');
2929
$table->unsignedInteger('category_id');
3030
$table->nullableMorphs('categorizable');
3131

0 commit comments

Comments
 (0)