fix migration, the default value was assigned in the wrong place