Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Migrations must be published
Browse files Browse the repository at this point in the history
  • Loading branch information
medilies committed Jul 24, 2022
1 parent c1ee0c4 commit af78298
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ Install the package via composer:
composer require elaborate-code/laravel-eloquent-logs
```

Run the migrations:
Publish the migrations:

```bash
php artisan migrate
php artisan vendor:publish --tag="eloquent-logs-migrations"
```

### Publishing files [Optional]

You can publish the migrations with:
Run the migrations:

```bash
php artisan vendor:publish --tag="eloquent-logs-migrations"
php artisan migrate
```

### Publishing config file [Optional]

You can publish the config file with:

```bash
Expand Down
3 changes: 1 addition & 2 deletions src/EloquentLogsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function configurePackage(Package $package): void
$package
->name('eloquent-logs')
->hasConfigFile()
->hasMigration('create_eloquent_logs_table')
->runsMigrations(); // ! Causes tests failure
->hasMigration('create_eloquent_logs_table');
}
}

0 comments on commit af78298

Please sign in to comment.