mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Set string length because laravel is dumb sometimes
This commit is contained in:
parent
8fe8ff71e8
commit
a710c98b50
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue