37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
<?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
|
|
{
|
|
Schema::create('efectivos', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->bigInteger('veinte_mil')->default(0);
|
|
$table->bigInteger('diez_mil')->default(0);
|
|
$table->bigInteger('cinco_mil')->default(0);
|
|
$table->bigInteger('dos_mil')->default(0);
|
|
$table->bigInteger('mil')->default(0);
|
|
$table->bigInteger('quinientos')->default(0);
|
|
$table->bigInteger('cien')->default(0);
|
|
$table->bigInteger('cincuenta')->default(0);
|
|
$table->bigInteger('diez')->default(0);
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
Schema::dropIfExists('efectivos');
|
|
}
|
|
};
|