我刚刚迁移了我的新数据模型并添加了一个名为“author_mail”的新属性。但是我在输出记录时发现:
attachments = "<relationship fault: 0xd2459c0 'attachments'>";
author = nil;
"author_mail" = nil; <-- ABNORMAL
category1 = World;
我将 author_mail 设置为字符串类型,但我认为 author_mail 不应该用引号引起来。我不知道它是否与我的迁移有关,但它没有输出任何错误。任何线索我应该从哪里开始看?我在互联网上一无所获。
我想要的结果:
attachments = "<relationship fault: 0xd2459c0 'attachments'>";
author = nil;
author_mail = nil;
category1 = World;
感谢大家。