style updates
This commit is contained in:
+17
-3
@@ -4,7 +4,21 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void { Schema::create('stylist_theme_settings', function (Blueprint $table) { $table->id(); $table->string('theme_key')->unique(); $table->string('variant')->default('light'); $table->json('settings')->nullable(); $table->timestamps(); }); }
|
||||
public function down(): void { Schema::dropIfExists('stylist_theme_settings'); }
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('stylist_theme_settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('theme_key')->unique();
|
||||
$table->string('variant')->default('light');
|
||||
$table->json('settings')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('stylist_theme_settings');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user