Add migration seed for tiers
This commit is contained in:
parent
328ce7488f
commit
da92d0dc1a
@ -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",
|
||||
|
||||
@ -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
1995
composer.lock
generated
File diff suppressed because it is too large
Load Diff
24
database/migrations/seed/2026_01_29_115028_seed_tiers.php
Normal file
24
database/migrations/seed/2026_01_29_115028_seed_tiers.php
Normal 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
|
||||
{
|
||||
//
|
||||
}
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user