This commit is contained in:
faiqahzaman
2022-01-12 17:05:01 +08:00
parent 1b310fb068
commit 2e2ea60f40
14 changed files with 57 additions and 40 deletions
@@ -16,26 +16,30 @@ class CreateUsersTable extends Migration
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('username')->unique();
$table->string('kodcaw')->nullable();
$table->string('nokp')->nullable();
$table->string('bank_acc_pembeli')->nullable();
$table->string('bank_acc_no_pembeli')->nullable();
$table->string('alamat_rumah')->nullable();
$table->string('alamat')->nullable();
$table->string('notelpejabat')->nullable();
$table->string('notelbimbit')->nullable();
$table->string('note')->nullable();
$table->string('status')->nullable();
$table->string('note')->nullable(); //operasi
$table->string('status')->nullable(); //set
$table->datetime('t_daftar')->nullable();
$table->integer('online')->nullable();
$table->integer('online')->nullable(); //set
$table->integer('register_agree')->nullable();
$table->string('username')->unique();
$table->string('email')->nullable();
$table->datetime('email_verified_at')->nullable();
$table->string('password');
$table->string('front_img_path');
$table->string('back_img_path');
$table->datetime('disahkan_pada');
$table->datetime('disahkan_oleh');
// $table->string('front_img_path');
// $table->string('back_img_path');
$table->string('ic_image_path')->nullable();
$table->string('front_img_filename')->nullable();
$table->string('back_img_filename')->nullable();
$table->datetime('disahkan_pada')->nullable();
$table->datetime('disahkan_oleh')->nullable();
$table->string('user_type')->nullable(); //set 1,2
$table->rememberToken();
$table->timestamps();
});