there any option to change field type
there any option to change field type after is created ?
1 Reply
You would need to create a new column of the desired type and copy the data to it, then delete the original column.
The data copy can be done simply with a script in the Playground.
As long as the table content isn't too big to fit in browser memory, because getAll retrieves all records at once. If the table is very large, you'd need to do a getPaginated call loop instead: https://xata.io/docs/sdk/get#cursor-based-pagination