Organizando y comenzando con interfaces

This commit is contained in:
2025-01-11 20:10:14 -03:00
parent 07b62a07a0
commit b87ae08b9a
52 changed files with 9492 additions and 361 deletions

View File

@@ -16,7 +16,7 @@ return new class extends Migration
$table->date('fecha');
$table->integer('numero_caja');
$table->integer('numero_turno');
$table->integer('fondo');
$table->integer('fondo')->default(0);
$table->timestamps();
});
@@ -54,8 +54,8 @@ return new class extends Migration
Schema::create('egresos', function (Blueprint $table) {
$table->ulid('id')->primary();
$table->text('numero');
$table->text('descripcion');
$table->text('numero')->nullable();
$table->text('descripcion')->nullable();
$table->bigInteger('valor');
$table->text('tipo_egreso');
$table->foreignUlid('turno_id')->constrained('turnos')->cascadeOnDelete();

View File

@@ -6,7 +6,5 @@ use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run(): void
{
}
public function run(): void {}
}