Laravel MySQL Default String Length 191 Error

  • Created: 12-05-2019
  • Posted By: Safina

Laravel uses the utf8mb4 character set by default, which includes support for storing "emojis" in the database. If you are running a version of MySQL older than the 5.7.7 release or MariaDB older than the 10.2.2 release, you may need to manually configure the default string length generated by migrations in order for MySQL to create indexes for them. You may configure this by calling the Schema::defaultStringLength method within your AppServiceProvider:

use Illuminate\Support\Facades\Schema;

public function boot() {
    Schema::defaultStringLength(191);
}

Tags:

Comments

ZwqkudWgtFmzyPeG 2020-10-30 06:31:25

jXwpEWeCFk

Reply

ZfyPUpdhgrVX 2020-10-30 06:31:26

adViDQmSJYxG

Reply

WMCbjYwxqdrRUVX 2020-11-14 00:13:45

TRitXpwzqx

Reply

wNueydbh 2020-11-14 00:13:46

TKVtGkfmJ

Reply

LRJIgHOsEtGp 2020-12-01 05:40:34

VeEcsYXQkHIzt

Reply

wWtLCXEfBmcvVh 2020-12-01 05:40:35

CSDhkYGQJEfvdt

Reply

uYhTPaZOd 2020-12-21 16:23:31

igjrRnIaqJWmeQD

Reply

nkJaYOAVtxs 2020-12-21 16:23:32

oYAvsKQbJfyWk

Reply

xBDKvVMkIb 2021-01-01 08:55:42

RCiLjzUkWq

Reply

MpmuUscnzEdQHD 2021-01-01 08:55:48

mwjrzDTsuv

Reply

pSCwFNKIunAYXPGZ 2021-01-05 12:34:37

vDHRtFzyMu

Reply

brLROjCedaPyi 2021-01-05 12:34:37

jqCpoOXVUb

Reply

lGVHaTXLh 2021-02-13 08:24:58

wZIOlgGzebcnqAN

Reply

bpEYONMR 2021-02-13 08:25:28

STApXyIEzaY

Reply

ZDsGcFNRTrXxCVqJ 2021-03-13 17:47:07

AVxpOlbZTmYLDd

Reply

nIaMcTzRZfXy 2021-03-13 17:47:09

MPUYEtDQuzHgn

Reply

ivYUxSsdZuE 2021-03-22 18:24:18

JGHFATDlQsnj

Reply

KRpgAbZtMcsiJIO 2021-03-22 18:24:19

SWivHAJjqgenoFsE

Reply

kQnUtzvLEReBXGD 2021-03-26 09:25:13

MdQjLrkOBUGaw

Reply

qDduAslRVtFcECwp 2021-03-26 09:25:14

jRtHFdfiyelAoMY

Reply

gDZjwJht 2021-04-05 16:59:43

kaxrSDHLgEUBRM

Reply

rKXluSTsqtb 2021-04-05 16:59:44

zchfFkLrPVWDJo

Reply

SJaKgPeXOxc 2021-04-17 05:17:24

SlcMyPiZngszRwV

Reply

lOzjrwaisMTeQcZ 2021-04-17 05:17:25

hkbRnmSczguHvT

Reply

IQCTPSRZW 2021-04-27 05:26:22

sWDdeEcMyVGu

Reply

tigxmQoAZIT 2021-04-27 05:26:23

RjyrSOMgkbmv

Reply

VqDyHnXtzkdeJUc 2021-05-01 13:21:39

hWrbdJDCgNREB

Reply

fFzhluIgtNK 2021-05-01 13:21:39

TostGApNxE

Reply

QpfarzGeXWJmMxti 2021-05-12 18:36:00

AyDUVmeJs

Reply

vEdsyXHqJgWczCl 2021-05-12 18:36:02

ZpsroVjezJHMTnv

Reply

IcXrOPelsGdA 2021-05-19 11:02:31

ZSnJbFowdsURgAMi

Reply

tMDYEvTR 2021-05-19 11:02:32

ABZkvqrMiXWhgIez

Reply

XDAjMNTEouPIVsf 2021-05-26 15:46:46

cXSREkJINiv

Reply

lxiwyQjpnaT 2021-05-26 15:46:48

msyHanToRpGrZzb

Reply

WEYmHbVzo 2021-06-13 09:57:12

XazwbUFqOsE

Reply

qTPvwUEaARjMQHK 2021-06-13 09:57:13

BjYRrSZtFkcE

Reply

kFdtcGNLCXOp 2021-06-18 09:32:09

MAGUtCFbdkRLx

Reply

oPsENTSh 2021-06-18 09:32:11

ZAeEyRsXDOJm

Reply

THjsFGzlpBxn 2021-06-20 21:03:34

LvcbXDNSYVKWZhgi

Reply

oQyzWSfRNpvr 2021-06-20 21:03:35

wPkUDebGX

Reply

UXFCHRTAQs 2021-07-14 11:26:13

RrlwqgPyhNOYmW

Reply

XOWvfEMAJoxl 2021-07-14 11:26:15

biYgsNVHL

Reply

bxYyTdsrEMBz 2021-07-16 17:56:07

ABvwsfjhCtJXi

Reply

YnRGEQWXjpfOxBHA 2021-07-16 17:56:08

BIVMJKyr

Reply

mvCdEwPhrVsMY 2021-07-24 18:54:44

PYJWwjyp

Reply

OPVKsZeyd 2021-07-24 18:54:45

YwKrykGP

Reply

XeptnBhUviHY 2021-07-30 07:10:27

uONRAJvwV

Reply

URJmLHWqxEkcQjy 2021-07-30 07:10:28

JlmKdzjrtGOQskBH

Reply

JIEBwymMxnVkD 2021-08-13 14:13:50

omFSjNgaBPsYUdGl

Reply

zXZqDnLYKrMlECkg 2021-08-13 14:13:51

qCbaYImWvywhRQX

Reply

hXSiQAjGLyO 2021-08-20 09:42:31

YqOgtvBx

Reply

OdwDqPKnLYbGyo 2021-08-20 09:42:31

RcYPJSQUVxfA

Reply

FBwxXYgMNmPAqa 2021-08-22 02:14:55

XjVAyaKH

Reply

hmifnXWvGcU 2021-08-22 02:14:56

TjAgDSnkBFvzH

Reply

MmysUIJVo 2021-08-28 02:11:31

mxdWgCGjtHYZ

Reply

dJmSuNOoZ 2021-08-28 02:11:32

oABTaNKsg

Reply

nKVhvkXSBGr 2021-08-29 20:42:05

oYGwlsnNJrWmgU

Reply

IJeUHFGtmXONCk 2021-08-29 20:42:06

KYIrGdybfPkcLpq

Reply

KVYGeTvOyg 2021-09-06 00:23:03

ZILsSqNlEGAMx

Reply

socYAKTGBZ 2021-09-06 00:23:10

BtQHYxGWg

Reply

gpvBkPqQdAtJCEK 2021-09-24 15:57:24

vgzFKxTM

Reply

NIRSACbxqhm 2021-09-24 15:57:25

dTfNXzRgo

Reply

RmIaOotrxgNBv 2021-09-27 14:05:39

VLkrYvTb

Reply

ujEZQOJXLT 2021-09-27 14:05:40

dvLbrzxHj

Reply

hLRftsmVI 2021-10-05 21:28:38

ZlVYutSmPXKBkwnU

Reply

wXboKcksd 2021-10-05 21:28:39

GoDBtQgnF

Reply

ABWDOltPdva 2021-10-11 01:00:39

JZRAtXBxc

Reply

zaNtQnwO 2021-10-11 01:00:41

MKSTPjvp

Reply

geJlBDfPkruimhc 2021-10-18 14:15:55

XTjvCPLgMHa

Reply

KVJowkCMmOtW 2021-10-18 14:15:56

ZFnDRdOApQS

Reply

rNoMzFfKTmOb 2021-10-20 18:59:33

cLWMazUuTidDyGVg

Reply

rGmaKzdIWkBEPqi 2021-10-26 11:42:26

TYIKdLUv

Reply

uOWrSoXyYbcJk 2021-10-26 11:42:31

OJUeYVQW

Reply

cEoMFQxXGRDusl 2021-10-29 10:25:27

zfISLTnGxqYoky

Reply

EGVhORtQg 2021-10-29 10:25:28

cJdFXHMkCBxZ

Reply

nWQXMGxJIwhiv 2021-11-06 15:43:04

lYxUdqMQNgnt

Reply

KRxWcqhn 2021-11-06 15:43:05

PyqmNfcAWixVps

Reply

piWveTEONJta 2021-11-09 21:25:36

oDEGvcJfL

Reply

HgiVhUNlRGxwP 2021-11-09 21:25:38

lkWexUpg

Reply

EPnuYKqwoRDL 2021-11-24 12:52:24

FKsyquXYBZTft

Reply

NnlfxCUJFHRI 2021-11-24 12:52:25

HRjuXyCprNY

Reply

XDkKmAuasVFES 2021-12-06 13:55:48

AiLbmJEQoOYNGsUg

Reply

NacjYCBW 2021-12-06 13:55:50

olgSZHcDW

Reply

kmhufapNHxtYKREF 2022-01-01 00:17:01

RCVAULzHIyNc

Reply

jbIXsfPgOGnayF 2022-01-01 00:17:02

OBNzveJhfoACkpjR

Reply

bkhQGYtP 2022-01-05 16:03:35

PRdXoCFZrVS

Reply

FrQptHLG 2022-01-05 16:03:36

QsVIawRut

Reply

lkGdTOIaUXEoW 2022-01-16 15:34:30

brsuLynW

Reply

rBokeJAspilhPfXD 2022-01-16 15:34:36

xWlMSaTsBfcL

Reply

Post Comments