ranjith-dev #1273

Merged
jothi merged 3 commits from ranjith-dev into master 2026-10-20 04:26:36 +00:00
Showing only changes of commit 1db5e62e21 - Show all commits

View File

@@ -0,0 +1,31 @@
<?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
{
$sql1 = <<<'SQL'
ALTER TABLE plants
ADD COLUMN feed_address TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('plants', function (Blueprint $table) {
//
});
}
};