@if(empty($diff['missingTables']) && empty($diff['extraTables']) && empty($diff['schemaDifferences']))
✅ No differences found.
@else
@if(!empty($diff['missingTables']))
Missing Tables
@foreach($diff['missingTables'] as $table)
- {{ $table }}
@endforeach
@endif
@if(!empty($diff['extraTables']))
Extra Tables
@foreach($diff['extraTables'] as $table)
- {{ $table }}
@endforeach
@endif
@if(!empty($diff['schemaDifferences']))
Table Column Differences
@foreach($diff['schemaDifferences'] as $table => $changes)
{{ $table }}
@if(!empty($changes['missingColumns']))
- Missing Columns:
@foreach($changes['missingColumns'] as $col => $type)
- {{ $col }} ({{ $type }})
@endforeach
@endif
@if(!empty($changes['extraColumns']))
- Extra Columns:
@foreach($changes['extraColumns'] as $col => $type)
- {{ $col }} ({{ $type }})
@endforeach
@endif
@if(!empty($changes['modifiedColumns']))
- Modified Columns:
@foreach($changes['modifiedColumns'] as $col => $val)
- {{ $col }}: {{ $val['original'] }} → {{ $val['clone'] }}
@endforeach
@endif
@endforeach
@endif
@endif