Compare commits
2 Commits
241672db64
...
606979a215
Author | SHA1 | Date |
---|---|---|
|
606979a215 | 3 months ago |
|
7e7e85f591 | 3 months ago |
6 changed files with 5 additions and 85 deletions
@ -1,28 +0,0 @@ |
|||||
<?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::table('prestamos', function (Blueprint $table) { |
|
||||
$table->boolean('eliminado')->default(false); |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* Reverse the migrations. |
|
||||
*/ |
|
||||
public function down(): void |
|
||||
{ |
|
||||
Schema::table('prestamos', function (Blueprint $table) { |
|
||||
$table->dropColumn('eliminado'); |
|
||||
}); |
|
||||
} |
|
||||
}; |
|
@ -1,28 +0,0 @@ |
|||||
<?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::table('prestamos', function (Blueprint $table) { |
|
||||
// |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* Reverse the migrations. |
|
||||
*/ |
|
||||
public function down(): void |
|
||||
{ |
|
||||
Schema::table('prestamos', function (Blueprint $table) { |
|
||||
// |
|
||||
}); |
|
||||
} |
|
||||
}; |
|
@ -1,28 +0,0 @@ |
|||||
<?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::table('prestamos', function (Blueprint $table) { |
|
||||
// |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* Reverse the migrations. |
|
||||
*/ |
|
||||
public function down(): void |
|
||||
{ |
|
||||
Schema::table('prestamos', function (Blueprint $table) { |
|
||||
// |
|
||||
}); |
|
||||
} |
|
||||
}; |
|
Loading…
Reference in new issue