Creating the database schema