Fixed migrations to use settings for defaults