creo que por ahora voy bien

This commit is contained in:
2025-03-03 04:27:19 -03:00
parent 97b97c0335
commit caa7784247
13 changed files with 224 additions and 102 deletions

View File

@@ -0,0 +1,27 @@
<?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("recetas", function (Blueprint $table) {
$table->string("title")->default("[falta titulo]")->after("id");
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table("recetas", function (Blueprint $table) {
$table->dropColumn("title");
});
}
};