add direct buy transaction table and end trading transaction table migration