Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

IlluminateDatabaseQueryException SQLSTATE[HY000]: General error: 3780 Referencing column

//ERROR: IlluminateDatabaseQueryException SQLSTATE[HY000]: General error: 3780 Referencing column
//Change...
	$table->integer('user_id')->unsigned()->index();
//To...
	$table->bigInteger('user_id')->unsigned()->index();
 
PREVIOUS NEXT
Tagged: #IlluminateDatabaseQueryException #General #Referencing #column
ADD COMMENT
Topic
Name
2+3 =