Started work on the recycle bin interface

This commit is contained in:
Dan Brown
2020-10-03 18:44:12 +01:00
parent 691027a522
commit 04197e393a
15 changed files with 259 additions and 31 deletions

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDeleteRecordsTable extends Migration
class CreateDeletionsTable extends Migration
{
/**
* Run the migrations.
@ -13,7 +13,7 @@ class CreateDeleteRecordsTable extends Migration
*/
public function up()
{
Schema::create('delete_records', function (Blueprint $table) {
Schema::create('deletions', function (Blueprint $table) {
$table->increments('id');
$table->integer('deleted_by');
$table->string('deletable_type', 100);
@ -33,6 +33,6 @@ class CreateDeleteRecordsTable extends Migration
*/
public function down()
{
Schema::dropIfExists('delete_records');
Schema::dropIfExists('deletions');
}
}