db init context