Move db init to bootstrap