0
가 여기 내 스키마 내 일부 자동으로 실패 : 고정 데이터 여기심포니 1.4 : 다시 선언 게터는 교리를 만들어 : 데이터로드 작업은
sfGuardUser:
actAs: [Timestampable]
columns:
email_address:
type: string(255)
notnull: true
unique: true
algorithm:
type: string(128)
default: sha1
notnull: true
salt: string(128)
password: string(128)
balance:
type: decimal(14)
scale: 4
default: 0
guarantee:
type: decimal(14)
scale: 4
default: 0
is_active:
type: boolean
default: 1
is_super_admin:
type: boolean
default: false
last_login:
type: timestamp
입니다 실패
class sfGuardUser extends PluginsfGuardUser
{
...
public function getBalance()
{
return (parent::getBalance() - $this->getGuarantee());
}
}
parent::getBalance()
을 제거하면 정상적으로 작동합니다. 그게 뭐가 문제 야?