initial commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?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::create('operations', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
$table->string('nama');
|
||||
$table->integer('umur');
|
||||
$table->date('tanggal_lahir');
|
||||
$table->string('suku');
|
||||
$table->string('kelamin');
|
||||
$table->string('alamat');
|
||||
$table->integer('anak_ke');
|
||||
$table->string('riwayathamil');
|
||||
$table->string('riwayatkeluarga');
|
||||
$table->string('riwayat_penyakit_terdahulu');
|
||||
$table->string('riwayat_kawin_kerabat');
|
||||
$table->string('diagnosa');
|
||||
$table->string('jenis_terapi');
|
||||
$table->string('jenis_cleft');
|
||||
$table->string('kelainan_kongenital');
|
||||
$table->date('tanggal_operasi');
|
||||
$table->string('teknikoperasi');
|
||||
$table->string('operator');
|
||||
$table->string('lokasioperasi');
|
||||
$table->string('followup');
|
||||
$table->integer('created_by_id');
|
||||
$table->string('created_by_name');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('operations');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user