fix migration failed if tables already exit