Skip to content

Commit 8d60600

Browse files
authored
Merge pull request lazychaser#211 from rattfieldnz/patch-2
Update README.markdown
2 parents 6cefe7a + 6c9c721 commit 8d60600

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,9 @@ composer require kalnoy/nestedset
611611
You can use a method to add needed columns with default names:
612612

613613
```php
614+
...
615+
use Kalnoy\Nestedset\NestedSet;
616+
614617
Schema::create('table', function (Blueprint $table) {
615618
...
616619
NestedSet::columns($table);
@@ -620,6 +623,9 @@ Schema::create('table', function (Blueprint $table) {
620623
To drop columns:
621624

622625
```php
626+
...
627+
use Kalnoy\Nestedset\NestedSet;
628+
623629
Schema::table('table', function (Blueprint $table) {
624630
NestedSet::dropColumns($table);
625631
});

0 commit comments

Comments
 (0)