Created the database schema