[enh] automatically create database and table