feat(website-type): add 'dominio' field to WebsiteType model and update related tests

This commit is contained in:
2026-07-31 12:06:27 -03:00
parent 893bea1492
commit 6858b387c3
4 changed files with 9 additions and 1 deletions

View File

@@ -9,7 +9,8 @@ return new class extends Migration
public function up(): void
{
Schema::table('website_type', function (Blueprint $table): void {
$table->string('primary_color')->nullable()->after('nombre');
$table->string('dominio')->nullable()->unique()->after('nombre');
$table->string('primary_color')->nullable()->after('dominio');
$table->string('secondary_color')->nullable()->after('primary_color');
$table->string('danger_color')->nullable()->after('secondary_color');
$table->string('success_color')->nullable()->after('danger_color');
@@ -31,6 +32,7 @@ return new class extends Migration
}
$table->dropColumn([
'dominio',
'primary_color',
'secondary_color',
'danger_color',