fix code
This commit is contained in:
@@ -11,12 +11,12 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('assignment_fails', function (Blueprint $table) {
|
||||
Schema::create('mission_violations', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('mission_id')->constrained('missions')->nullable();
|
||||
$table->foreignId('mission_id')->nullable()->constrained('missions');
|
||||
$table->string('machine_code')->nullable();
|
||||
$table->date('request_date')->nullable();
|
||||
$table->string('type')->nullable();
|
||||
$table->tinyInteger('type')->nullable();
|
||||
$table->bigInteger('mileage')->nullable();
|
||||
$table->dateTime('exit_time')->nullable();
|
||||
$table->dateTime('enter_time')->nullable();
|
||||
@@ -30,6 +30,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('assignment_fails');
|
||||
Schema::dropIfExists('mission_violations');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user