Kode dari ftuntan_main dengan dependensi diperbarui untuk PHP 8.3 (perbaikan insiden 27 Okt 2026). Dump database di database/sql/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class CreateAkreditasisTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('akreditasis', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('program_studi', 255)->nullable(false);
|
|
$table->string('strata', 10)->nullable(false);
|
|
$table->string('peringkat', 10)->nullable(false);
|
|
$table->string('tanggal_kadaluarsa', 255)->nullable(false);
|
|
$table->string('nomor_sk', 255)->nullable(false);
|
|
$table->text('nama_file')->nullable(false);
|
|
$table->date('release_date')->nullable(false);
|
|
$table->softDeletes();
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('akreditasis');
|
|
}
|
|
}
|