FEATURE: remove unused tables (custom fields) from database
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class DropCustomFieldsTables extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::dropIfExists('content_has_custom_fields');
|
||||
Schema::dropIfExists('user_has_custom_field');
|
||||
Schema::dropIfExists('custom_field_types');
|
||||
Schema::dropIfExists('custom_fields');
|
||||
Schema::dropIfExists('custom_field_resource');
|
||||
Schema::dropIfExists('custom_field_resources');
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user