Creation Of Migration, Fixed some Errors in Model