【问题标题】:symfony/propel: question about i18nTable and modules generated in the backendsymfony/propel:关于 i18nTable 和后端生成的模块的问题
【发布时间】:2010-10-19 16:44:22
【问题描述】:

在 Jobeet 中,模式的下面有这部分:

jobeet_category:
  _attributes:  { isI18N: true, i18nTable: jobeet_category_i18n }
  id:           ~

jobeet_category_i18n:
  id:           { type: integer, required: true, primaryKey: true, foreignTable: jobeet_category, foreignReference: id }
  culture:      { isCulture: true, type: varchar, size: 7, required: true, primaryKey: true }
  name:         { type: varchar(255), required: true }
  slug:         { type: varchar(255), required: true }

我已经在后端创建了相应的模块,但是当我尝试创建一个新的“jobeet_category_i18n”时,我错过了允许选择“jobeet_category”对象的选择。

无论如何我都尝试创建它,但正如我所料,会显示一条关于外键的错误消息。

该架构可以吗?为什么没有显示选择“jobeet_category”对象的选择?

贾维

【问题讨论】:

    标签: internationalization symfony1 propel


    【解决方案1】:
    猜你喜欢
    • 2012-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-19
    • 1970-01-01
    • 2011-03-15
    • 1970-01-01
    • 2013-09-09
    相关资源
    最近更新 更多