Add tm_activity to mysql create scripts