FEATURE: remove unused tables (custom fields) from database

This commit is contained in:
Michal Kváček
2017-08-24 03:17:49 +02:00
parent 862f49771f
commit 029d84fed1
@@ -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()
{
//
}
}