Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
murdercode committed Jan 22, 2024
2 parents 96e306c + 2153f3c commit c742836
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ composer require the-3labs-team/nova-busy-resource-field
You need to publish the migration file:

```bash
php artisan vendor:publish --tag=nova-busy-resource-field-migrations
php artisan vendor:publish --tag=nova-busy-resource-field-migrations
```

Remember to launch the migrations:
```bash
php artisan migrate
```

Also, you can publish the config file:

```bash
php artisan vendor:publish --tag=nova-busy-resource-field-config
php artisan vendor:publish --tag=nova-busy-resource-field-config
```

## Usage
Expand Down Expand Up @@ -73,7 +78,7 @@ Then, in your Nova resource, you can add the field:
return [
// ...

NovaBusyResourceField::make('Busy')->withMeta([
NovaBusyResourceField::make('')->withMeta([
'saveEvery' => 30000 // In milliseconds
]),

Expand Down

0 comments on commit c742836

Please sign in to comment.