SQL changes

Added new columns "transid" and "isdeleted". Made transid primary key
and isdeleted will be used for dynamic deletion feature.