create database dependencies