add block table sql code for importing to db