upgrade problem with already existing tables fixed

all was caused by transactions and DDL