PHP Method Schema::dropForeign, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::dropForeign from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Frequently Used Methods
Example #1
Show file File: 2015_12_09_225059_create_course_requirement_table.php Project: dnvmbr/p4
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropForeign('course_id', 'requirement_id');
     Schema::drop('course_requirement');
 }
Example #2
Show file File: 2014_03_14_101010_create_service_faq_table.php Project: kettanyam/20141001done
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropForeign('posts_service_faq_images_sid_foreign');
     Schema::drop('service_faq_images');
     Schema::drop('service_faq');
 }
Example #3
Show file File: 2015_12_14_225416_create_course_user_table.php Project: dnvmbr/p4
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropForeign('course_id', 'user_id');
     Schema::drop('course_user');
 }