File: /home/posscale/.trash/1database.1/migrations/tenant/2025_03_07_101024_source_settings.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::create('source_settings', function (Blueprint $table) {
$table->id();
$table->string('type', 255);
$table->json('data');
$table->dateTime('last_connection_date');
$table->dateTime('last_sync_date');
$table->boolean('connection_status');
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('source_settings');
}
};