Added string limit on database

This commit is contained in:
Gregorio Chiko Putra 2018-08-04 10:40:10 +07:00
parent 2fd196c694
commit fc2da0e280

View File

@ -3,6 +3,7 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
@ -13,7 +14,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
Schema::defaultStringLength(191);
}
/**