J'ai un problème de champs, quand j'ai fais:
php symfony doctrine:build-filter , il m'as généré des champs qui n'ont pas lieu d'être dans ma table.
J'aurais voulut savoir comment puis-je faire pour pouvoir les enlever de ma requête?

Voici la schema.yml:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
RedevanceDdaGlobal:
  connection: pgsql
  tableName: declaration.redevance_dda_global
  columns:
    id_redevance_dda_global:
      type: integer(4)
      fixed: false
      unsigned: false
      primary: true
      sequence: declaration.redevance_dda_global_id_redevance_dda_global
    date_creation:
      type: timestamp(25)
      fixed: false
      unsigned: false
      notnull: false
      default: now()
      primary: false
    periode_dda:
      type: string(8)
      fixed: false
      unsigned: false
      notnull: false
      default: 00-0000
      primary: false
    co_type_livraison:
      type: string(3)
      fixed: false
      unsigned: false
      notnull: false
      default: IND
      primary: false
    id_grille_tarif:
      type: integer(8)
      fixed: false
      unsigned: false
      notnull: false
      primary: false
    id_groupe_declarant:
      type: integer(8)
      fixed: false
      unsigned: false
      notnull: true
      default: '0'
      primary: false
    code_declarant:
      type: string(18)
      fixed: false
      unsigned: false
      notnull: false
      default: 'NON DEFINI'
      primary: false
    nom_support:
      type: string(255)
      fixed: false
      unsigned: false
      notnull: false
      default: 'NON DEFINI'
      primary: false
    code_declaration_publication:
      type: string(10)
      fixed: false
      unsigned: false
      notnull: false
      primary: false
    code_declaration_site:
      type: string(10)
      fixed: false
      unsigned: false
      notnull: false
      primary: false
    code_tranche:
      type: string(5)
      fixed: false
      unsigned: false
      notnull: false
      primary: false
    nb_coupures_publication:
      type: integer(4)
      fixed: false
      unsigned: false
      notnull: false
      default: (-1)
      primary: false
    nb_coupures_site:
      type: integer(4)
      fixed: false
      unsigned: false
      notnull: false
      default: (-1)
      primary: false
    id_tranche:
      type: integer(8)
      fixed: false
      unsigned: false
      notnull: false
      primary: false
    tarif_unitaire_editeur:
      type: decimal(18)
      fixed: false
      unsigned: false
      notnull: false
      default: '0'
      primary: false
Et voici la base qu'il m'as généré:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
public function setup()
  {
    $this->setWidgets(array(
      'date_creation'                => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
      'periode_dda'                  => new sfWidgetFormFilterInput(),
      'co_type_livraison'            => new sfWidgetFormFilterInput(),
      'id_grille_tarif'              => new sfWidgetFormFilterInput(),
      'id_groupe_declarant'          => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('GroupeDeclarationDda'), 'add_empty' => true)),
      'code_declarant'               => new sfWidgetFormFilterInput(),
      'nom_support'                  => new sfWidgetFormFilterInput(),
      'code_declaration_publication' => new sfWidgetFormFilterInput(),
      'code_declaration_site'        => new sfWidgetFormFilterInput(),
      'code_tranche'                 => new sfWidgetFormFilterInput(),
      'nb_coupures_publication'      => new sfWidgetFormFilterInput(),
      'nb_coupures_site'             => new sfWidgetFormFilterInput(),
      'id_tranche'                   => new sfWidgetFormFilterInput(),
      'tarif_unitaire_editeur'       => new sfWidgetFormFilterInput(),
      'updated_at'                   => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => false)),
    ));
 
    $this->setValidators(array(
      'date_creation'                => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
      'periode_dda'                  => new sfValidatorPass(array('required' => false)),
      'co_type_livraison'            => new sfValidatorPass(array('required' => false)),
      'id_grille_tarif'              => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'id_groupe_declarant'          => new sfValidatorDoctrineChoice(array('required' => false, 'model' => $this->getRelatedModelName('GroupeDeclarationDda'), 'column' => 'id_groupe_declaration')),
      'code_declarant'               => new sfValidatorPass(array('required' => false)),
      'nom_support'                  => new sfValidatorPass(array('required' => false)),
      'code_declaration_publication' => new sfValidatorPass(array('required' => false)),
      'code_declaration_site'        => new sfValidatorPass(array('required' => false)),
      'code_tranche'                 => new sfValidatorPass(array('required' => false)),
      'nb_coupures_publication'      => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'nb_coupures_site'             => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'id_tranche'                   => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'tarif_unitaire_editeur'       => new sfValidatorSchemaFilter('text', new sfValidatorNumber(array('required' => false))),
      'updated_at'                   => new sfValidatorDateRange(array('required' => false, 'from_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 00:00:00')), 'to_date' => new sfValidatorDateTime(array('required' => false, 'datetime_output' => 'Y-m-d 23:59:59')))),
    ));
Pourquoi m'a-t-il créé le update_at ? et surtout m'avoir retiré le id_redevance_dda_global .... ?

Merci d'avance.

Loïc