⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
ppt.com.ng
/
database
/
migrations
/
View File Name :
2024_02_24_131936_create_card_owners_table.php
id(); $table->string('name'); $table->string('address'); $table->string('phone'); $table->integer('user_id')->unsigned()->nullable(); $table->foreign('user_id')->references('id')->on('users'); $table->integer('passport_id')->unsigned()->nullable(); $table->foreign('passport_id')->references('id')->on('upload_files'); $table->integer('live_image_id')->unsigned()->nullable(); $table->foreign('live_image_id')->references('id')->on('upload_files'); $table->integer('local_government_id')->unsigned()->nullable(); $table->foreign('local_government_id')->references('id')->on('local_governments'); $table->integer('occupation_id')->unsigned()->nullable(); $table->foreign('occupation_id')->references('id')->on('occupations'); $table->integer('origin_state_id')->unsigned()->nullable(); $table->foreign('origin_state_id')->references('id')->on('origin_states'); $table->integer('age'); $table->enum('sex',['Male','Female'])->default('Male'); $table->enum('editable',['Yes','No'])->default('Yes'); $table->enum('status',['Active','Inactive','Expired'])->default('Inactive'); $table->enum('card_status',['Pending','Ready'])->default('Pending'); $table->string('company_name')->nullable()->default(NULL); $table->string('company_address')->nullable()->default(NULL); $table->string('qr_string')->nullable()->default(NULL); $table->string('security_question'); $table->string('security_answer'); $table->string('guarantor_name')->nullable()->default(NULL); $table->string('guarantor_address')->nullable()->default(NULL); $table->string('guarantor_phone')->nullable()->default(NULL); $table->string('second_guarantor_name')->nullable()->default(NULL); $table->string('second_guarantor_address')->nullable()->default(NULL); $table->string('second_guarantor_phone')->nullable()->default(NULL); $table->date('payment_approved_date')->nullable()->default(NULL); $table->date('expiry_date')->nullable()->default(NULL); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('card_owners'); } };