Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.75k stars 1.57k forks source link

Fixing inconsistent column schemas #14791

Closed adrinr closed 1 month ago

adrinr commented 1 month ago

Description

I found an issue while QAing some v3 bugs. External source tables created internally come with a default id, but this is not set correctly on the schema, creating some inconsistencies in the UI. This branch fixes the creation of new tables, and it fixes the UI issues fixing broken data on the way out of the API.

The proper fix would be adding some API validation on saves, but it might add some breaking changes we need to explore, probably not worth it as this point.

Screenshots

Previous issue

image

Fixed behaviour

image
qa-wolf[bot] commented 1 month ago

QA Wolf here! As you write new code it's important that your test coverage is keeping up. Click here to request test coverage for this PR!