Files
web-ft-untan/database/migrations/2022_01_05_015256_create_akreditasis_table.php
T
izuandClaude Opus 5.5 5f264c815a Web FT UNTAN (Laravel 8) versi lama + dump database ftuntan_web_profil
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>
2026-10-29 13:31:52 +07:00

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');
}
}