Files
cae/database/migrations/2026_02_19_190419_create_configs_table.php
2026-02-22 18:16:47 +00:00

30 lines
624 B
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('configs', function (Blueprint $table) {
$table->id();
$table->string('nome')->unique();
$table->string('valor')->unique();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('configs');
}
};