Files
web-ft-untan/database/migrations/2022_01_17_053005_create_galeris_table.php
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

35 lines
730 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateGalerisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('galeris', function (Blueprint $table) {
$table->id();
$table->text('nama_foto')->nullable(false);
$table->date('release_date')->nullable(false);
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('galeris');
}
}