Remove "staff member" list

This commit is contained in:
2022-02-02 05:36:09 +00:00
parent 9bf27fd3f4
commit 4da435dc1e
15 changed files with 912 additions and 1013 deletions

View File

@@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAppealsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('appeals', function (Blueprint $table) {
$table->id();
$table->bigInteger('appellant_id')->unsigned();
$table->bigInteger('appeal_assignee')->unsigned();
$table->enum('appeal_type', [
'discord_ban',
'discord_timeout'
]);
$table->text('appeal_reasoning_desc');
$table->enum('appeal_status', [
'IN_REVISION',
'AWAITING_DECISION',
'PUNISHMENT_LIFTED',
'PUNISHMENT_REDUCED',
'PUNISHMENT_MAINTAINED'
]);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('appeals');
}
}