When editing a database table field data type from int(1) to varchar(8), Webmin generated the SQL query as follows:
alter table user
modify level
int(8) not null default NULL
The expected SQL was as follows:
alter table user
modify level
varchar(8) not null default NULL
Are you sure you selected varchar as the new type? I wasn't able to re-produce this.