rename resource to thing in migrations