drop() public static method

Drop a table from the schema.
public static drop ( string $table ) : Illuminate\Database\Schema\Blueprint
$table string
return Illuminate\Database\Schema\Blueprint
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('category_permission');
     Schema::drop('category_permission_role');
     Schema::drop('category_permission_permission');
     Schema::drop('category_permission_category');
 }
 public function down()
 {
     Schema::table('posts', function (Blueprint $table) {
         $table->dropForeign('posts_user_id_foreign');
     });
     Schema::drop('posts');
 }
 public function down()
 {
     $prefix = config('larablog.table.prefix');
     Schema::drop($prefix . '_post_tag');
     Schema::drop($prefix . '_posts');
     Schema::drop($prefix . '_tags');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('user_pattern');
     Schema::drop('pattern_section');
     Schema::drop('pattern_prefix');
     Schema::drop('pattern_theme');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('professions');
     Schema::table('profiles', function (Blueprint $table) {
         $table->dropColumn('profession_id');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table("sprites", function ($table) {
         $table->dropIndex("search");
     });
     Schema::drop("sprites");
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('honorarios');
     Schema::drop('reintegro_vale');
     Schema::drop('reintegro_rm');
     Schema::drop('reintegros');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table($this->authenticationProvidersTable, function (Blueprint $table) {
         $table->dropForeign('oauth_identities_user_id_foreign');
     });
     Schema::drop($this->authenticationProvidersTable);
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('assigned_roles');
     Schema::drop('permission_role');
     Schema::drop('roles');
     Schema::drop('permissions');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('votes');
     Schema::drop('downloads');
     Schema::drop('patches');
     Schema::drop('samples');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('uploaded_files');
     Schema::table('products', function ($table) {
         $table->string('image_file');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     /* Drop table 'users' from database specified in .env-file 
      * (or config/database.php).
      */
     Schema::drop('users');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('users_oauth', function (Blueprint $table) {
         $table->dropForeign('users_oauth_user_id_foreign');
     });
     Schema::drop('users_oauth');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('uploads');
     Schema::table('users', function ($table) {
         $table->dropColumn('image');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('Tokens');
     Schema::table('Users', function ($table) {
         $table->dropColumn('token_id');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     if (env('APP_ENV') !== 'spira-core-testing') {
         return true;
     }
     Schema::drop(SecondTestEntity::getTableName());
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('events');
     Schema::drop('activities');
     Schema::drop('committees_events');
     Schema::drop('activities_users');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop(Models::table('permissions'));
     Schema::drop(Models::table('assigned_roles'));
     Schema::drop(Models::table('roles'));
     Schema::drop(Models::table('abilities'));
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('users', function ($table) {
         //-- Custom Column Name
         Schema::drop('users');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('shop_cards', function (Blueprint $table) {
         $table->dropForeign('shop_cards_customer_id_foreign');
     });
     Schema::drop('shop_cards');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('module_user');
     Schema::drop('modules');
     Schema::drop('classroom_course');
     Schema::drop('courses');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     // drop table for back to revision
     if (Schema::hasTable('user_info')) {
         Schema::drop('user_info');
     }
 }
 /**
  * Reverse the migrations.
  *
  * @return  void
  */
 public function down()
 {
     Schema::drop('permission_role');
     Schema::drop('permissions');
     Schema::drop('role_user');
     Schema::drop('roles');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('history_events', function (Blueprint $table) {
         $table->dropForeign('history_events_history_date_id_foreign');
     });
     Schema::drop('history_events');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('specimens');
     Schema::drop('images');
     Schema::drop('scans');
     Schema::drop('media');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('tbl_quest', function ($table) {
         $table->dropForeign(['cat_intId']);
     });
     Schema::drop('tbl_quest');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('bids', function (Blueprint $table) {
         $table->dropForeign('bids_contract_type_id_foreign');
     });
     Schema::drop('contract_type');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('articles', function (Blueprint $table) {
         $table->dropForeign('articles_type_id_foreign');
     });
     Schema::drop('articles');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     //
     Schema::drop('permissions_roles');
     Schema::drop('permissions');
     Schema::drop('roles');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('nerds', function (Blueprint $table) {
         //
         Schema::drop('nerds');
     });
 }