2016-01-20 22:08:09 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
2025-09-24 13:34:19 +02:00
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
2016-01-20 22:08:09 -05:00
|
|
|
|
2024-03-19 21:03:50 -04:00
|
|
|
return new class extends Migration
|
2016-01-20 22:08:09 -05:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Run the migrations.
|
|
|
|
|
*/
|
2024-03-19 21:12:27 -04:00
|
|
|
public function up(): void
|
2016-01-20 22:08:09 -05:00
|
|
|
{
|
|
|
|
|
Schema::create('settings', function (Blueprint $table) {
|
|
|
|
|
$table->string('key')->unique();
|
|
|
|
|
$table->text('value');
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Reverse the migrations.
|
|
|
|
|
*/
|
2024-03-19 21:12:27 -04:00
|
|
|
public function down(): void
|
2016-01-20 22:08:09 -05:00
|
|
|
{
|
2016-01-23 15:42:25 -05:00
|
|
|
Schema::dropIfExists('settings');
|
2016-01-20 22:08:09 -05:00
|
|
|
}
|
2024-03-19 21:03:50 -04:00
|
|
|
};
|