db: setup