Setup the template for the database tables