Added security on the migrations and removed unused configuration option