Set string length because laravel is dumb sometimes
This commit is contained in:
@@ -24,7 +24,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
|
||||
Schema::defaultStringLength(191);
|
||||
|
||||
// Email array validator
|
||||
Validator::extend('email_array', function ($attribute, $value, $parameters, $validator) {
|
||||
$value = str_replace(' ', '', $value);
|
||||
|
||||
Reference in New Issue
Block a user