feat(website-type): add 'dominio' field to WebsiteType model and update related tests
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user