You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Cannot change column "${column.name}" to type "${data.newType}": ${incompatibleCount} row(s) have incompatible values. Fix or remove the incompatible values first.`
4337
-
)
4343
+
if(incompatibleCount>0){
4344
+
thrownewError(
4345
+
`Cannot change column "${column.name}" to type "${data.newType}": ${incompatibleCount} row(s) have incompatible values. Fix or remove the incompatible values first.`
4346
+
)
4347
+
}
4338
4348
}
4339
4349
4340
4350
constupdatedColumns=schema.columns.map((c,i)=>{
4341
4351
if(i!==columnIndex)returnc
4342
4352
constnext={ ...c,type: data.newType}
4343
-
returndata.newType==='select' ? next : omit(next,['options'])
0 commit comments