Your solution may lie in sqlite. The default schema is not writable (you cannot UPDATE the sqlite_master table), but with reasonable knowledge and a little help PRAGMA writable_schema = ON; can you do this. Thus, some changes are safe, for example, changing VARCHAR (N) to VARCHAR (M), sqlite does not care about the number in parentheses.
Step 1, your circuit is limited to 30 characters
CREATE TABLE [TestTable] ( [Id] INTEGER PRIMARY KEY AUTOINCREMENT, [Txt] VARCHAR(30) )
The line below takes into account sqlite_table changes
PRAGMA writable_schema=ON;
And the next statement will change the limits to 100
Update sqlite_master set sql='CREATE TABLE [TestTable] ( [Id] INTEGER PRIMARY KEY AUTOINCREMENT, [Txt] VARCHAR(100) )' where tbl_name='TestTable' and type='table'
But you should know what you are doing , because some changes are not welcome, because sqlite expects some storage format based on the information in the schema. Converting Varchar to varchar does not change the storage format
source share