added isSubmitted to migration