public function deleteField(string $postTypeSlug, string $fieldSlug)
    {
        if (Schema::hasColumn($postTypeSlug, $fieldSlug)) {
            Schema::table(
                $postTypeSlug, function ($table) use ($fieldSlug) {
                    $table->dropColumn($fieldSlug);
                }
            );
        }
        return true;
    }
public function deleteField(string $postTypeSlug, string $fieldSlug)
    {
        if (Schema::hasColumn($postTypeSlug, $fieldSlug)) {
            Schema::table(
                $postTypeSlug, function ($table) use ($fieldSlug) {
                    $table->dropColumn($fieldSlug);
                }
            );
        }
        return true;
    }
public function deleteField ( string $ postTypeSlug , string $ fieldSlug ) { if ( Schema :: hasColumn ( $ postTypeSlug , $ fieldSlug ) ) { Schema :: table ( $ postTypeSlug , function ( $ table ) use ( $ fieldSlug ) { $ table -> dropColumn ( $ fieldSlug ) ; } ) ; } return true ; }
Delete column from DB.

@param  string $postTypeSlug
@param  string $fieldSlug
@return bool
Delete column from DB .