Merge pull request #4124 from tohojo/adv-search-fix
[civicrm-core.git] / xml / schema / Price / PriceSetEntity.xml
index 4614eb7722b9459218541fb3f980fa9ebb7870d7..a6ec3c2713aade824751e960d81b49a9cf96ed26 100644 (file)
@@ -7,54 +7,54 @@
   <add>1.8</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Price Set Entity</comment>
-      <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Price Set Entity</comment>
+    <add>1.8</add>
   </field>
   <primaryKey>
-      <name>id</name>
-      <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>entity_table</name>
-      <type>varchar</type>
-      <length>64</length>
-      <required>true</required>
-      <comment>Table which uses this price set</comment>
-      <add>1.8</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Table which uses this price set</comment>
+    <add>1.8</add>
   </field>
   <field>
-      <name>entity_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Item in table</comment>
-      <add>1.8</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Item in table</comment>
+    <add>1.8</add>
   </field>
   <dynamicForeignKey>
-      <idColumn>entity_id</idColumn>
-      <typeColumn>entity_table</typeColumn>
-      <add>1.8</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>1.8</add>
   </dynamicForeignKey>
   <field>
-      <name>price_set_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>price set being used</comment>
-      <add>1.8</add>
+    <name>price_set_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>price set being used</comment>
+    <add>1.8</add>
   </field>
   <foreignKey>
-      <name>price_set_id</name>
-      <table>civicrm_price_set</table>
-      <key>id</key>
+    <name>price_set_id</name>
+    <table>civicrm_price_set</table>
+    <key>id</key>
   </foreignKey>
   <index>
-      <name>UI_entity</name>
-      <fieldName>entity_table</fieldName>
-      <fieldName>entity_id</fieldName>
-      <unique>true</unique>
-      <add>1.8</add>
+    <name>UI_entity</name>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <unique>true</unique>
+    <add>1.8</add>
   </index>
 </table>