Fix create extension in db