Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration drop foreign keys

$table->dropIndex(['state']); // Drops index 'geo_state_index'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #drop #foreign #keys
ADD COMMENT
Topic
Name
7+6 =