kehadiran pengundi

This commit is contained in:
nurafrinaalimi16
2024-04-16 09:27:17 +08:00
parent 5507840cd3
commit 88f0baf155
6 changed files with 171 additions and 117 deletions
@@ -0,0 +1,35 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddKehadiranToVoterTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('voter', function (Blueprint $table) {
//
$table->integer('kehadiran');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('voter', function (Blueprint $table) {
//
$table->dropColumn('kehadiran');
});
}
}