close election

This commit is contained in:
fsociety
2024-09-29 16:51:35 +02:00
parent 736dcbfe1b
commit e76a60c600
3 changed files with 80 additions and 19 deletions

View File

@@ -0,0 +1,27 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('elections', function (Blueprint $table) {
$table->timestamp('end_time')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('elections', function (Blueprint $table) {
//
});
}
};