Organizando y comenzando con interfaces
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -6,7 +6,5 @@ use Illuminate\Database\Seeder;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
}
|
||||
public function run(): void {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user