我有这个模型:
Usuario:
actAs:
Sluggable:
unique: true
fields: [nombre_apellidos]
canUpdate: true
inheritance:
extends: sfGuardUser
type: simple
columns:
username:
type: string(128)
notnull: false
unique: true
nombre_apellidos: string(60)
sexo: boolean
fecha_nac: date
provincia: string(60)
localidad: string(255)
#email_address: string(255)
fotografia: string(255)
avatar: string(255)
relations:
Usuario:
local: user1_id
foreign: user2_id
refClass: AmigoUsuario
equal: true
我预计名为“slug”的字段是在“构建原则:构建 --all”之后创建的,但没有。
为什么没有创建一个名为“slug”的字段?
Symfony 1.3