Update the migrations to make it applicable on Django 1.7