bonjour,
j"ai créé 2 module qui ont une relation de jointure mais je ne voi pas dans le schéma le nom de foreign key est se que je doit l'ajouter manuellemnt sur schema.yml voici un exemple :
merci
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 Client: connection: doctrine tableName: client columns: id: type: integer(4) fixed: false unsigned: false primary: true autoincrement: true nom: type: string() fixed: false unsigned: false primary: false notnull: true autoincrement: false prenom: type: string() fixed: false unsigned: false primary: false notnull: true autoincrement: false relations: Billet: local: id foreign: id type: many Billet: connection: doctrine tableName: billet columns: id: type: integer(4) fixed: false unsigned: false primary: false notnull: true autoincrement: false nom: type: string() fixed: false unsigned: false primary: false notnull: true autoincrement: false date: type: date(25) fixed: false unsigned: false primary: false notnull: true autoincrement: false relations: Client: local: id foreign: id type: one
Partager