Merge pull request #14728 from eileenmcnaughton/last_icing
[civicrm-core.git] / xml / schema / Bridge / Role.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Bridge</base>
5 <class>Role</class>
6 <name>civicrm_bridge_role</name>
7 <comment>An FK table that links between civicrm group and drupal 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>
3c7d2158 20 <field>
8f069c03
EM
21 <name>drupal_role_id</name>
22 <type>int unsigned</type>
23 <comment>Foreign key to the drupal role.</comment>
24 <add>2.0</add>
6a488035 25 </field>
3c7d2158 26 <index>
8f069c03
EM
27 <name>index_drupal_role_id</name>
28 <fieldName>index_drupal_role_id</fieldName>
29 <add>2.0</add>
6a488035 30 </index>
3c7d2158 31 <field>
29494eef
AS
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>
614d72ec 42 <html>
e0991796 43 <type>Select</type>
614d72ec 44 </html>
3c7d2158 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>
3c7d2158 51 </foreignKey>
6a488035 52</table>