I want to add nullable column to sql table, but changing table format leads to an error:
box.execute([[
CREATE TABLE test(
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
"name" TEXT NOT NULL
)
]])
f = box.space.TEST:format()
table.insert(f, {type='string', name='description', is_nullable=true})
box.space.TEST:format(f)
error: 'Can''t modify space ''TEST'': exact_field_count must be either 0 or >= formatted
field count'
So is there any way to change format of sql table?