Added migrations and drop useless second setting permissions