setup database tables

Signed-off-by: August Yip <augustyip@gmail.com>