diff --git a/authentication.md b/authentication.md index 73689d1f30c..95d6edda442 100644 --- a/authentication.md +++ b/authentication.md @@ -41,7 +41,7 @@ Don't worry if this all sounds confusing now! Most applications will never need By default, Laravel includes an `App\User` [Eloquent model](/docs/{{version}}/eloquent) in your `app` directory. This model may be used with the default Eloquent authentication driver. If your application is not using Eloquent, you may use the `database` authentication driver which uses the Laravel query builder. -When building the database schema for the `App\User` model, make sure the password column is 60 characters in length. +When building the database schema for the `App\User` model, make sure the password column is at least 60 characters in length, the default of 255 would be a good choice. Also, you should verify that your `users` (or equivalent) table contains a nullable, string `remember_token` column of 100 characters. This column will be used to store a token for "remember me" sessions being maintained by your application. This can be done by using `$table->rememberToken();` in a migration. diff --git a/migrations.md b/migrations.md index dad386537fe..f555b917f69 100644 --- a/migrations.md +++ b/migrations.md @@ -256,6 +256,8 @@ We could also modify a column to be nullable: $table->string('name', 50)->nullable()->change(); }); +> **Note:** Modifying any column in a table that also has a column of type `enum` is not currently supported. + #### Renaming Columns @@ -265,7 +267,7 @@ To rename a column, you may use the `renameColumn` method on the Schema builder. $table->renameColumn('from', 'to'); }); -> **Note:** Renaming columns in a table with a `enum` column is not currently supported. +> **Note:** Renaming any column in a table that also has a column of type `enum` is not currently supported. ### Dropping Columns