✏️ Edit: Plugin.php
Path:
/home/thiqat5/electronics.thiqatech.com/platform/plugins/location/src/Plugin.php
Size: 520 B · Modified: 2022-04-22 10:13:56 · Perm: 0644 · Writable
← Back to directory
👁 View
⬇ Download
<?php namespace Botble\Location; use Illuminate\Support\Facades\Schema; use Botble\PluginManagement\Abstracts\PluginOperationAbstract; class Plugin extends PluginOperationAbstract { public static function remove() { Schema::dropIfExists('cities'); Schema::dropIfExists('states'); Schema::dropIfExists('countries'); Schema::dropIfExists('countries_translations'); Schema::dropIfExists('states_translations'); Schema::dropIfExists('cities_translations'); } }
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF