moves post class to outside of migration to only open up class instead of redefining it