ringkasan dan summary petani

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-04 15:07:56 +07:00
co-authored by Copilot
parent 61f72e4352
commit 69d09e74e2
17 changed files with 933 additions and 38 deletions
@@ -0,0 +1,40 @@
<?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('ekosistem_basis_data_ringkasan', function (Blueprint $table) {
$table->id();
$table->foreignId('tabel_id')->constrained('ekosistem_basis_data_tabel')->restrictOnDelete();
$table->string('heading');
$table->string('subheading');
$table->text('query_ringkasan');
$table->integer('urutan')->default(0);
$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('deleted_by')->nullable()->constrained('users')->onDelete('set null');
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('ekosistem_basis_data_ringkasan');
}
};