{% import 'macro/accordion.html' as accordion %} {{ accordion.header('Database Integrity Check', 'database-integrity', 'admin', expanded=true, icon='shield-check-line') }} {% if database_error %}
| Issue Type | Count | Description |
|---|---|---|
{{ issue.issue_type }} |
{{ issue.count }} | {{ issue.description }} |
These sets exist in bricktracker_sets but are missing from rebrickable_sets:
| Set Number | ID | Storage | Purchase Price |
|---|---|---|---|
{{ set.set }} |
{{ set.id }} |
{{ set.storage or '-' }} | {{ set.purchase_price or '-' }} |
These parts exist in bricktracker_parts but are missing from rebrickable_parts:
| Part | Color | Set Number | Quantity | Spare |
|---|---|---|---|---|
{{ part.part }} |
{{ part.color }} | {{ part.set_number or '-' }} | {{ part.quantity }} | {{ 'Yes' if part.spare else 'No' }} |
| ... and {{ orphaned_parts|length - 20 }} more | ||||
These parts reference sets that don't exist in bricktracker_sets:
| Part | Color | Set ID | Quantity |
|---|---|---|---|
{{ part.part }} |
{{ part.color }} | {{ part.id }} |
{{ part.quantity }} |
| ... and {{ parts_missing_set|length - 20 }} more | |||