Register the "schema:drop" command.

@return void
168656
protected function registerDropCommand()
    {
        $this->app->singleton('command.schema.drop', function ($app) {
            return new SchemaDropCommand(
                $app['datamapper.classfinder'],
                $app['datamapper.entity.scanner'],
                $app['datamapper.schema.builder'],
                $app['datamapper.eloquent.generator'],
                $app['config']['datamapper']
            );
        });
    }
1000928
public function dropSelectedDatabase()
    {
        $databaseName = $this->connector->getSelectedDatabase();
        if ($databaseName) {
            $this->connector->unloadDatabase();
            $this->schemaManager->dropDatabase($databaseName);
        }
    }
1352560
public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('name');
        });

        $controller = DB::table('admin_controllers')->select('id')->where('controller', '=', 'account')->first();
        DB::table('admin_actions')->where('controller_id', '=', $controller->id)->where('action', '=', 'name')->delete();
    }
982832
public function down()
    {
        Schema::drop('watched_items');
        Schema::drop('failed_jobs');
        Schema::drop('delivery_options');
        Schema::drop('item_categories');
        Schema::drop('items');
        Schema::drop('item_conditions');
        Schema::drop('listing_durations');
        Schema::drop('categories');

        Schema::table('users', function (Blueprint $table) {
            $table->string('username', 255)->change();
            $table->string('email', 255)->change();
            $table->string('password', 60)->change();
            $table->dropColumn('locale');
            $table->dropColumn('currency');
            $table->dropColumn('joined');
            $table->dropColumn('last_login');
            $table->dropColumn('notifications');
            $table->timestamps();

            $table->renameColumn('user_id', 'id');
            $table->renameColumn('username', 'name');
        });
    }
147149
public function down()
    {
        Schema::disableForeignKeyConstraints();
        Schema::dropIfExists('order_product_variations');
        Schema::dropIfExists('product_variations');
        Schema::dropIfExists('product_attribute_integer_values');

        Schema::dropIfExists('attribute_dropdown_option_translations');
        Schema::dropIfExists('attribute_dropdown_options');
        Schema::dropIfExists('attribute_product');

        Schema::dropIfExists('product_property');
        Schema::dropIfExists('product_property_boolean_values');
        Schema::dropIfExists('product_property_text_values');
        Schema::dropIfExists('product_property_decimal_values');
        Schema::dropIfExists('product_property_integer_values');
        Schema::dropIfExists('product_property_varchar_values');
        Schema::dropIfExists('product_property_datetime_values');
        Schema::dropIfExists('property_dropdown_options');

        Schema::dropIfExists('property_translations');
        Schema::dropIfExists('properties');

        Schema::dropIfExists('category_filters');
        Schema::dropIfExists('category_product');
        Schema::dropIfExists('product_images');
        Schema::dropIfExists('product_prices');
        
        Schema::dropIfExists('category_translations');
        
        Schema::dropIfExists('attribute_translations');
        Schema::dropIfExists('attributes');
        
        Schema::dropIfExists('order_return_products');
        Schema::dropIfExists('order_return_requests');
        
        Schema::dropIfExists('product_order');
        Schema::dropIfExists('order_product');
        Schema::dropIfExists('order_histories');
        Schema::dropIfExists('orders');

        Schema::dropIfExists('order_statuses');
        Schema::dropIfExists('product_downloadable_urls');
        Schema::dropIfExists('menu_groups');
        Schema::dropIfExists('menus');
        Schema::dropIfExists('products');
        Schema::dropIfExists('categories');

        Schema::dropIfExists('oauth_personal_access_clients');
        Schema::dropIfExists('oauth_clients');
        Schema::dropIfExists('oauth_refresh_tokens');
        Schema::dropIfExists('oauth_access_tokens');
        Schema::dropIfExists('oauth_auth_codes');

        Schema::dropIfExists('admin_password_resets');
        Schema::dropIfExists('admin_users');
        Schema::dropIfExists('password_resets');
        Schema::dropIfExists('user_user_group');
        Schema::dropIfExists('user_groups');
        Schema::dropIfExists('users');
        Schema::dropIfExists('addresses');
        Schema::dropIfExists('configurations');

        Schema::dropIfExists('tax_rates');
        Schema::dropIfExists('tax_groups');
        Schema::dropIfExists('site_currencies');
        Schema::dropIfExists('pages');
        Schema::dropIfExists('wishlists');

        Schema::dropIfExists('permission_role');
        Schema::dropIfExists('permissions');
        Schema::dropIfExists('roles');
        Schema::dropIfExists('states');
        Schema::dropIfExists('countries');
        Schema::dropIfExists('languages');

        Schema::enableForeignKeyConstraints();
    }
1058275
def drop_schema(self):
        """"""
        execute = self.cursor.execute
        execute('DROP TABLE IF EXISTS gauged_data')
        execute('DROP TABLE IF EXISTS gauged_keys')
        execute('DROP TABLE IF EXISTS gauged_writer_history')
        execute('DROP TABLE IF EXISTS gauged_cache')
        execute('DROP TABLE IF EXISTS gauged_statistics')
        execute('DROP TABLE IF EXISTS gauged_metadata')
        self.db.commit()
450783
public function deleteAll()
    {
        $schema = $this->getConn()->getSchemaManager();
        foreach ($schema->databaseList() as $dbName) {
            if ($this->isDBTemp($dbName)) {
                $schema->dropDatabase($dbName);
                $schema->alterationMessage("Dropped database \"$dbName\"", 'deleted');
                flush();
            }
        }
    }
948830
public function down() {
		Schema::drop(self::TABLE_DATA);
		Schema::drop(self::TABLE);
		Schema::drop(self::TABLE_ACTION);
	}
1368418
public function down()
    {
        Schema::drop($this->prefixCmsTable('activations'));
        Schema::drop($this->prefixCmsTable('persistences'));
        Schema::drop($this->prefixCmsTable('reminders'));
        Schema::drop($this->prefixCmsTable('role_users'));
        Schema::drop($this->prefixCmsTable('throttle'));
        Schema::drop($this->prefixCmsTable('roles'));
        Schema::drop($this->prefixCmsTable('users'));
    }
217783
public function down()
    {
        // Remove columns from products
        if (Schema::hasTable('products')) {
            Schema::table('products', function(Blueprint $table)
            {
                if (Schema::hasColumn('products', 'weight_unit')) {
                    $table->dropColumn('weight_unit');
                }
                if (Schema::hasColumn('products', 'volume_unit')) {
                    $table->dropColumn('volume_unit');
                }
                if (Schema::hasColumn('products', 'length')) {
                    $table->dropColumn('length');
                }
                if (Schema::hasColumn('products', 'width')) {
                    $table->dropColumn('width');
                }
                if (Schema::hasColumn('products', 'height')) {
                    $table->dropColumn('height');
                }
                if (Schema::hasColumn('products', 'weight')) {
                    $table->dropColumn('weight');
                }
            });
        }
    }
103087
public function dropColumn() {
        $columns = func_get_args();
        foreach ($columns as $column) {
            $this->set($column);
        }
        return $this->command()->execute($this->getDropColumnSql());
    }
246890
function Delete()
    {
        if ($this->KeyValue())
        {
            $schema = $this->GetSchema();
            $schema->Delete($this->KeyCondition());
        }
    }
1225054
public void dropSchema()
    {
        if (operation != null && operation.equalsIgnoreCase("create-drop"))
        {
            try
            {
                HTableDescriptor hTableDescriptor = null;
                if (admin.isTableAvailable(databaseName))
                {
                    if (admin.isTableEnabled(databaseName))
                    {
                        hTableDescriptor = admin.getTableDescriptor(databaseName.getBytes());
                        admin.disableTable(databaseName);
                    }
                    for (TableInfo tableInfo : tableInfos)
                    {
                        if (tableInfo != null && tableInfo.getTableName() != null
                                && hTableDescriptor.getFamily(tableInfo.getTableName().getBytes()) != null)
                        {
                            admin.deleteColumn(databaseName, tableInfo.getTableName());
                        }
                    }
                }
            }
            catch (TableNotFoundException tnfe)
            {
                logger.error("Table doesn't exist, Caused by ", tnfe);
                throw new SchemaGenerationException(tnfe, "Hbase");
            }
            catch (IOException ioe)
            {
                logger.error("Table isn't in enabled state, Caused by", ioe);
                throw new SchemaGenerationException(ioe, "Hbase");
            }
            finally
            {
                try
                {
                    admin.enableTable(databaseName);
                }
                catch (IOException ioe)
                {
                    logger.error("Table isn't in enabled state, Caused by", ioe);
                    throw new SchemaGenerationException(ioe, "Hbase");
                }
            }
        }
        operation = null;
        admin = null;
    }
273192
public function down()
    {
        Schema::table('acl_users_status', function (Blueprint $table) {

            $slug = implode('_', ['acl_users_status', 'user_id', 'foreign']);
            $table->dropForeign($slug);

        });

        Schema::dropIfExists('acl_users_status');
    }
265898
public function dropSchema($name)
    {
        $schema = new Schema($name);
        $this->actions[] =  function () use ($schema) {
             return $this->manipulation->drop($schema);
         };
    }
596414
public function down()
    {
        Schema::dropIfExists(config('admin.database.users_table'));
        Schema::dropIfExists(config('admin.database.roles_table'));
        Schema::dropIfExists(config('admin.database.permissions_table'));
        Schema::dropIfExists(config('admin.database.menu_table'));
        Schema::dropIfExists(config('admin.database.user_permissions_table'));
        Schema::dropIfExists(config('admin.database.role_users_table'));
        Schema::dropIfExists(config('admin.database.role_permissions_table'));
        Schema::dropIfExists(config('admin.database.role_menu_table'));
        Schema::dropIfExists(config('admin.database.operation_log_table'));
    }
306125
public function down()
    {
        DB::statement('SET FOREIGN_KEY_CHECKS=0;');
        Schema::dropIfExists('tbl_permissions');
        Schema::dropIfExists('tbl_roles');
        Schema::dropIfExists('tbl_actions');
        Schema::dropIfExists('tbl_action_categories');
        Schema::dropIfExists('tbl_components');
        Schema::dropIfExists('tbl_brands');
        Schema::dropIfExists('tbl_antares_options');
        Schema::dropIfExists('tbl_antares_installation');
        Schema::dropIfExists('tbl_events');
        DB::statement('SET FOREIGN_KEY_CHECKS=1;');
    }