chore: remove unused file and associated references
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateProductsTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('products', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('title')->nullable();
|
||||
$table->decimal('price', 15, 2)->nullable();
|
||||
$table->string('category')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('products');
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CITRUS CMS - Datagrid Module Template
|
||||
*
|
||||
* Bu şablon, Module Generator tarafından otomatik olarak doldurulur.
|
||||
*/
|
||||
|
||||
use App\Models\Products;
|
||||
|
||||
// Modül Ayarları
|
||||
$title = "Products";
|
||||
$tableName = "products";
|
||||
$tableWidth = "100%";
|
||||
|
||||
/**
|
||||
* --- Sütun Özelleştirmeleri ---
|
||||
*/
|
||||
$relationDatas = [
|
||||
'title' => [
|
||||
'type' => 'string',
|
||||
],
|
||||
'price' => [
|
||||
'type' => 'decimal',
|
||||
],
|
||||
'category' => [
|
||||
'type' => 'string',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* --- Sütun Gruplandırma ---
|
||||
*/
|
||||
$blockGroup = [
|
||||
'General' => array_keys($relationDatas),
|
||||
];
|
||||
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
console.log("{{ $title }} module loaded.");
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* Sayfaya özel CSS */
|
||||
</style>
|
||||
|
||||
<div class="content">
|
||||
<div class="row">
|
||||
<!-- Dosya Yükleme Paneli (Opsiyonel) -->
|
||||
{{-- @include("admin.type.document.upload") --}}
|
||||
|
||||
<!-- Ana Datagrid Bloğu -->
|
||||
@include("components.blocks.module-block")
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user