added m,d for decimal type
change order for dropping tables