@@ -67,28 +67,20 @@ the Eloquent `User` model.
67
67
The table representing the user must be updated with two new columns, ` verified ` and ` verification_token ` .
68
68
This update will be performed by the migrations included with this package.
69
69
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.**
72
73
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:
75
75
76
76
```
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"
84
78
```
85
79
86
80
The package tries to guess your ` user ` table by checking what is set in the auth providers users settings.
87
81
If this key is not found, the default ` App\User ` will be used to get the table name.
88
82
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:
92
84
93
85
```
94
86
php artisan vendor:publish --provider="Jrean\UserVerification\UserVerificationServiceProvider" --tag="migrations"
0 commit comments