mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 08:09:27 +00:00
fix: remove delete bad dashboards migration (#9860)
### **User description**
From v0.14.6-rc9 to v0.40.0 migration is currently broken for dashboards
with label position . This pr fixes this by removing the migration. The
dashboard migration generally happens through UI, no migration needed by
backend.
___
### **PR Type**
Bug fix
___
### **Description**
- Remove `delete_bad_dashboards` migration logic
- Convert `up` function into no-op stub
- Delete JSON parsing and schema definitions
___
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>m20250107_160900_delete_bad_dashboards.rs`</strong><dd><code>Simplify
delete_bad_dashboards migration</code>
</dd></summary>
<hr>
`src/infra/src/table/migration/m20250107_160900_delete_bad_dashboards.rs`
<ul><li>Dropped <code>chrono</code> and <code>sea_orm</code> imports<br>
<li> Simplified <code>up</code> to do nothing<br> <li> Removed
<code>can_parse_data</code> and version modules</ul>
</details>
</td>
<td><a href=""></a></td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
This commit is contained in: