model class up
db driver mysql5 replaced mysql_insert_id with SELECT LAST_INSERT_ID()
db driver mysqli replaced mysqli_insert_id with SELECT LAST_INSERT_ID()
db class cleanup