Budibase/budibase · error · Error
Column "${key}" can not change from time to datetime or vice
Error message
Column "${key}" can not change from time to datetime or viceversa. What it means
Error "Column "${key}" can not change from time to datetime or viceversa." thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/tables/external/index.ts:86
throw new Error(
`Column "${key}" has type "${FieldType.AUTO}" - this is not supported.`
)
}
if (
column.subtype &&
autoSubTypes.includes(column.subtype as AutoFieldSubType)
) {
throw new Error(
`Column "${key}" has subtype "${column.subtype}" - this is not supported.`
)
}
if (column.type === FieldType.DATETIME) {
const oldColumn = oldTable?.schema[key] as typeof column
if (oldColumn && column.timeOnly !== oldColumn.timeOnly) {
throw new Error(
`Column "${key}" can not change from time to datetime or viceversa.`
)
}
}
}
}
function getDatasourceId(table: Table) {
if (!table) {
throw new Error("No table supplied")
}
if (table.sourceId) {
return table.sourceId
}
if (!table._id) {
throw new Error("No table ID supplied")
}
return breakExternalTableId(table._id).datasourceIdView on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/tables/external/index.ts:86 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Budibase/budibase@a81a902e9a (2026-08-29).
Data as JSON: /api/errors/c85b1fb56f462bf8.
Report an issue: GitHub.