database changes to sqlite from mysql