created the db schema and associated resources