私はsymfony 1.4.11を使用しています。私は sfDoctrineGuardPlugin と sfDoctrineApplyPlugin を使用しています。 backend 、 sf_guard_user テーブルからのみプロファイルを削除しましたが、sf_guard_user_profileテーブルからはプロファイルを削除しませんでした ...どうすれば修正できますか?両方のプラグインの設定に問題があるのでしょうか? ありがとうございました!
sfGuardUserProfile:
connection: doctrine
tableName: sf_guard_user_profile
columns:
id: { type: integer(4), primary: true, autoincrement: true }
user_id: { type: integer(4), notnull: true , primary: false }
salutation: { type: string(10), notnull: true }
first_name: { type: string(30), notnull: true }
last_name: { type: string(30), notnull: true }
country: { type: string(255), notnull: true }
postcode: { type: string(10) , notnull: true }
city: { type: string(255), notnull: true }
address: { type: string() , notnull: true }
phone: { type: string(50) }
email: { type: string(255), notnull: true }
validate: { type: string(17) }
banned: { type: boolean, default: 0 }
payed_until: { type: datetime, notnull: true}
relations:
User:
class: sfGuardUser
foreign: id
local: user_id
type: one
onDelete: cascade
foreignType: one
foreignAlias: Profile