0
Table:
field_1:
type: decimal(6)
scale: 2
fixed: false
unsigned: true
notnull: true
field_2:
type: decimal(6)
scale: 2
fixed: false
unsigned: true
notnull: true
default: field_1
有些文章告诉我,这是不可能的,我需要用PHP来做,但究竟在哪里?在lib> model> doctrine> base文件夹中?我脑海中的小声说:你没有别的选择:/Symfony 1.4 doctrine yml设置默认字段值与另一个字段的值
好的,因为没有更多的答案... –