Commit 7f1a8034 authored by Mahmoud Aglan's avatar Mahmoud Aglan

Fix varchar(10) too short for 'comfortable' — widen Phase A columns to varchar(20)

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 1a36b69c
...@@ -16,19 +16,19 @@ public function up(): void ...@@ -16,19 +16,19 @@ public function up(): void
$table->string('border_color', 7)->default('#e2e8f0')->after('surface_color'); $table->string('border_color', 7)->default('#e2e8f0')->after('surface_color');
$table->string('muted_text_color', 7)->default('#64748b')->after('border_color'); $table->string('muted_text_color', 7)->default('#64748b')->after('border_color');
$table->string('font_size_scale', 10)->default('medium')->after('body_font'); $table->string('font_size_scale', 20)->default('medium')->after('body_font');
$table->string('heading_weight', 10)->default('700')->after('font_size_scale'); $table->string('heading_weight', 10)->default('700')->after('font_size_scale');
$table->string('line_height', 10)->default('normal')->after('heading_weight'); $table->string('line_height', 20)->default('normal')->after('heading_weight');
$table->string('letter_spacing', 10)->default('normal')->after('line_height'); $table->string('letter_spacing', 20)->default('normal')->after('line_height');
$table->string('density', 10)->default('comfortable')->after('letter_spacing'); $table->string('density', 20)->default('comfortable')->after('letter_spacing');
$table->string('border_radius_preset', 10)->default('rounded')->after('density'); $table->string('border_radius_preset', 20)->default('rounded')->after('density');
$table->string('card_style', 10)->default('raised')->after('border_radius_preset'); $table->string('card_style', 20)->default('raised')->after('border_radius_preset');
$table->string('section_divider', 10)->default('none')->after('card_style'); $table->string('section_divider', 20)->default('none')->after('card_style');
$table->string('image_shape', 10)->default('rounded')->after('section_divider'); $table->string('image_shape', 20)->default('rounded')->after('section_divider');
$table->boolean('animations_enabled')->default(true)->after('image_shape'); $table->boolean('animations_enabled')->default(true)->after('image_shape');
$table->string('animation_speed', 10)->default('normal')->after('animations_enabled'); $table->string('animation_speed', 20)->default('normal')->after('animations_enabled');
}); });
// Update template CHECK constraint to add new templates // Update template CHECK constraint to add new templates
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment