Add a table to db