Add Mojang's status to dashboard
Also adds a Cache table to the database. Contains incomplete routes.
This commit is contained in:
@@ -26,6 +26,7 @@ class CreateApplicationsTable extends Migration
|
||||
'STAGE_SUBMITTED',
|
||||
'STAGE_PEERAPPROVAL',
|
||||
'STAGE_INTERVIEW',
|
||||
'STAGE_INTERVIEW_SCHEDULED',
|
||||
'APPROVED',
|
||||
'DENIED'
|
||||
])->default('STAGE_SUBMITTED');
|
||||
|
@@ -27,9 +27,10 @@ class CreateAppointmentsTable extends Migration
|
||||
]);
|
||||
$table->enum('appointmentStatus', [
|
||||
'SCHEDULED',
|
||||
'CONCLUDED'
|
||||
'CONCLUDED' // TODO: Review whether this status is necessary
|
||||
])->default('SCHEDULED');
|
||||
$table->text('meetingNotes')->nullable();
|
||||
$table->boolean('userAccepted')->default(false);
|
||||
$table->longText('meetingNotes')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
32
database/migrations/2020_05_02_223355_create_cache_table.php
Normal file
32
database/migrations/2020_05_02_223355_create_cache_table.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateCacheTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('cache', function (Blueprint $table) {
|
||||
$table->string('key')->unique();
|
||||
$table->mediumText('value');
|
||||
$table->integer('expiration');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('cache');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user