eleven26

  • Home
  • Tags100
  • Archives346
  • Table of Contents
  • Overview

eleven26

346 posts
100 tags

laravel Syntax error or access violation 1071 Specified key was too long max key length is 767 bytes (SQL alter table users add unique users_email_unique(email)

Posted on 2018-11-22

AppServiceProvider

1
2
3
4
5
6
use Illuminate\Support\Facades\Schema;

public function boot()
{
Schema::defaultStringLength(191);
}
Laravel PHP
API Authentication (laravel oauth)
Lumen 使用 laravel-cors 的时候, 使用 dd 函数的解决方法
© 2025 eleven26
Powered by Hexo & NexT.Mist
0%