Ensuring the migrations directory exists.