Merge pull request #12899 from eileenmcnaughton/recur_tpl
[civicrm-core.git] / xml / schema / Bridge / OG.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Bridge</base>
5 <class>OG</class>
6 <name>civicrm_bridge_og</name>
7 <comment>An FK table that links between drupal organic group, civicrm group and civicrm acl roles</comment>
8 <add>2.0</add>
9 <field>
8f069c03
EM
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Unique table ID</comment>
14 <add>2.0</add>
6a488035
TO
15 </field>
16 <primaryKey>
8f069c03
EM
17 <name>id</name>
18 <autoincrement>true</autoincrement>
6a488035 19 </primaryKey>
011aeb62 20 <field>
8f069c03
EM
21 <name>drupal_og_id</name>
22 <type>int unsigned</type>
23 <comment>Foreign key to the organic group.</comment>
24 <add>2.0</add>
6a488035 25 </field>
011aeb62 26 <index>
8f069c03
EM
27 <name>index_drupal_og_id</name>
28 <fieldName>index_drupal_og_id</fieldName>
29 <add>2.0</add>
6a488035 30 </index>
011aeb62 31 <field>
8f069c03
EM
32 <name>group_id</name>
33 <type>int unsigned</type>
34 <required>true</required>
35 <comment>FK to civicrm group.</comment>
36 <add>2.0</add>
37 <pseudoconstant>
38 <table>civicrm_group</table>
39 <keyColumn>id</keyColumn>
40 <labelColumn>title</labelColumn>
41 </pseudoconstant>
42 <html>
43 <type>Select</type>
44 </html>
011aeb62 45 </field>
46 <foreignKey>
8f069c03
EM
47 <name>group_id</name>
48 <table>civicrm_group</table>
49 <key>id</key>
50 <add>2.0</add>
011aeb62 51 </foreignKey>
52 <field>
8f069c03
EM
53 <name>acl_id</name>
54 <type>int unsigned</type>
55 <required>true</required>
56 <comment>FK to civicrm acl.</comment>
57 <add>2.0</add>
011aeb62 58 </field>
59 <foreignKey>
8f069c03
EM
60 <name>acl_id</name>
61 <table>civicrm_acl</table>
62 <key>id</key>
63 <add>2.0</add>
011aeb62 64 </foreignKey>
65 <field>
8f069c03
EM
66 <name>admin_group_id</name>
67 <type>int unsigned</type>
68 <required>true</required>
69 <comment>FK to admin civicrm group.</comment>
70 <add>2.0</add>
71 <pseudoconstant>
72 <table>civicrm_group</table>
73 <keyColumn>id</keyColumn>
74 <labelColumn>title</labelColumn>
75 </pseudoconstant>
76 <html>
77 <type>Select</type>
78 </html>
011aeb62 79 </field>
80 <foreignKey>
8f069c03
EM
81 <name>admin_group_id</name>
82 <table>civicrm_group</table>
83 <key>id</key>
84 <add>2.0</add>
011aeb62 85 </foreignKey>
86 <field>
8f069c03
EM
87 <name>admin_acl_id</name>
88 <type>int unsigned</type>
89 <required>true</required>
90 <comment>FK to civicrm acl.</comment>
91 <add>2.0</add>
011aeb62 92 </field>
93 <foreignKey>
8f069c03
EM
94 <name>admin_acl_id</name>
95 <table>civicrm_acl</table>
96 <key>id</key>
97 <add>2.0</add>
011aeb62 98 </foreignKey>
6a488035 99</table>