Revert "Migration error"

This reverts commit d0dee8b0782946ce2e49119f170e9a6c1d248cfb.
Revert "Remove debug message"

This reverts commit a367718b054db18906c350beb8783af3628e1621.
Revert "Try chenging oid to owner_id"

This reverts commit 94b074333a07ddacd19bba336b3231a0f920698c.