Unable to create new collection “Unknown column ‘type’ in ‘field list”

While creating a new query/question in the collection, I'm able to run the query and see the preview well. But when i try to save the query/question, i get error.

Unknown column 'type' in 'field list'

"browser-info": {
"language": "en-US",
"platform": "Linux x86_64",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0",
"vendor": ""
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.21+9-post-Ubuntu-0ubuntu122.04",
"java.vendor": "Ubuntu",
"java.vendor.url": "https://ubuntu.com/",
"java.version": "11.0.21",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.21+9-post-Ubuntu-0ubuntu122.04",
"os.name": "Linux",
"os.version": "5.15.0-94-generic",
"user.language": "en",
"user.timezone": "Europe/Amsterdam"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MariaDB",
"version": "10.6.16-MariaDB-1:10.6.16+maria~ubu2204"
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.10"
"run-mode": "prod",
"version": {
"date": "2024-03-14",
"tag": "v0.49.0",
"hash": "46c668b"
"settings": {
"report-timezone": "Europe/Amsterdam"

Looks like something has gone badly wrong with MySQL in the last couple of releases. As a test, try it in Postgres.

Dropped and created the app database again.. Its working fine now.