Refactor TintoreriaProceso to Tintoreria resource and model
Renamed TintoreriaProcesoResource, model, and migration to Tintoreria, updating all related references and page classes. Added preload to Select fields for better performance in forms. This change standardizes naming and improves resource management for tintoreria processes.
This commit is contained in:
+2
-3
@@ -11,10 +11,9 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('tintoreria_procesos', function (Blueprint $table) {
|
||||
Schema::create('tintorerias', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
// Relaciones
|
||||
$table->foreignId('proveedor_id')
|
||||
->constrained('proveedors')
|
||||
->cascadeOnDelete();
|
||||
@@ -48,6 +47,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('tintoreria_procesos');
|
||||
Schema::dropIfExists('tintorerias');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user