query builder's renameTable('tbl_users', 'tbl_user')

query builder’s renameTable(‘tbl_users’, ‘tbl_user’)

not working with sqlite, in sqlite you need to write

ALTER TABLE foo RENAME TO bar

So the query builder should check if dbtype is sqlite or something…