added feature for OTP-SMS Koperasi

This commit is contained in:
Hafifie PKB
2024-03-25 21:40:03 +08:00
committed by nurafrinaalimi16
parent 1d892b064e
commit c657eafc70
13 changed files with 475 additions and 24 deletions
@@ -0,0 +1,36 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UserLoginOtp extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (!Schema::hasTable('user_login_otp'))
Schema::create('user_login_otp', function (Blueprint $table) {
$table->increments('id');
$table->string('nokp', 20);
$table->string('telefon');
$table->string('token');
$table->timestamp('created_at');
$table->timestamp('expired_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}