create the tables in the database