set up the database schema