Add migration seed for tiers

This commit is contained in:
Juan Felipe Zapata Moreno 2026-01-29 17:39:59 -06:00
parent 328ce7488f
commit da92d0dc1a
4 changed files with 1175 additions and 850 deletions

View File

@ -152,7 +152,7 @@ public function clientDiscountsReport(Request $request)
'C' => 'NOMBRE',
'D' => 'EMAIL',
'E' => 'TELÉFONO',
'F' => 'TIER',
'F' => 'NIVEL',
'G' => "DESCUENTO\n(%)",
'H' => "VENTAS CON\nDESCUENTO",
'I' => "DESCUENTOS\nRECIBIDOS",

View File

@ -75,6 +75,10 @@
"@php artisan migrate:fresh --seeder=DevSeeder",
"@php artisan passport:client --personal --name=Holos"
],
"db:update": [
"@php artisan migrate",
"@php artisan migrate --path=database/migrations/seed"
],
"db:prod": [
"@php artisan migrate:fresh --seed",
"@php artisan passport:client --personal --name=Holos"

1995
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
<?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
{
//
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};