creo que por ahora voy bien

This commit is contained in:
fede committed 2025-03-03 05:37:01 -03:00
1 parent 97b97c0335
commit caa7784247
13 files changed
+224 -102

No files matched your search

@@ -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");
});
}
};