Adding migrations
Fixed resource type field issue.