File: /home/posscale/.trash/1database.1/migrations/2024_07_01_114712_add_columns_to_tenant.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::table('tenants', function (Blueprint $table) {
$table->tinyText('message_to_user')->nullable();
$table->tinyText('message')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('tenants', function (Blueprint $table) {
$table->dropColumn('message_to_user');
$table->dropColumn('message');
});
}
};