Skip to content

Commit 810079c

Browse files
committed
Merge branch 'develop'
2 parents 4bd5473 + f329e5d commit 810079c

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,20 @@ the Eloquent `User` model.
6767
The table representing the user must be updated with two new columns, `verified` and `verification_token`.
6868
This update will be performed by the migrations included with this package.
6969

70-
**It is mandatory that the two columns are on the same table where the user's e-mail is stored.**
71-
**Please make sure you do not already have those fields on your user table.**
70+
**It is mandatory that the two columns are on the same table where the user's
71+
e-mail is stored. Please make sure you do not already have those fields on
72+
your user table.**
7273

73-
Run the following command to migrate (all) the migrations, including the
74-
migration(s) provided by this package:
74+
To run the migrations from this package use the following command:
7575

7676
```
77-
php artisan migrate
78-
```
79-
80-
If you wish to only run the migration(s) from this package, run the following command:
81-
82-
```
83-
php artisan migrate --path=/vendor/jrean/laravel-user-verification/src/resources/migrations
77+
php artisan migrate --path="/vendor/jrean/laravel-user-verification/src/resources/migrations"
8478
```
8579

8680
The package tries to guess your `user` table by checking what is set in the auth providers users settings.
8781
If this key is not found, the default `App\User` will be used to get the table name.
8882

89-
The migration adds a `verification_token` and a `verified` field to the user table.
90-
91-
To customize the migration(s) to your needs, publish them with the following command:
83+
To customize the migration, publish it with the following command:
9284

9385
```
9486
php artisan vendor:publish --provider="Jrean\UserVerification\UserVerificationServiceProvider" --tag="migrations"

src/UserVerificationServiceProvider.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ public function boot()
3737
__DIR__ . '/resources/lang' => resource_path('lang/vendor/laravel-user-verification'),
3838
], 'translations');
3939

40-
// migrations
41-
$this->loadMigrationsFrom(__DIR__ . '/resources/migrations');
42-
4340
$this->publishes([
4441
__DIR__ . '/resources/migrations/' => database_path('migrations')
4542
], 'migrations');

0 commit comments

Comments
 (0)